Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function PlasticCanToHand(Player, State)
- if (not IsPlasticCanInHand(Player) and State) then
- PlasticCans[Player] = Object(MODEL_LIST.PlasticCan, 0, 0, -100);
- exports.pAttach:attach(PlasticCans[Player], Player, "weapon", -0.1, -0.02, 0.6, -100, -5, -100);
- SetSubscribedData(Player, "char:walkstyle", Player.walkingStyle, false);
- Player.walkingStyle = 65;
- Chat:sendLocalMeLowMessage(Player, "elővesz egy műanyag kannát.");
- SetSubscribedData(Player, "char:plasticCanInHand", true);
- else
- Player.walkingStyle = Player:getData("char:walkstyle") or 0;
- SetSubscribedData(Player, "char:walkstyle", nil, false);
- DeletePlasticCan(Player);
- Chat:sendLocalMeLowMessage(Player, "elrakja a műanyag kannát.");
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement