Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:posadiseme(playerid, params[])
- {
- if(IsPlayerInRangeOfPoint(playerid, 6.0, 26.7081,-110.9354,0.6094))
- {
- if (GetPlayerSkin(playerid) == 34)
- {
- ApplyAnimation(playerid, LIBRARY, ANIMATION);
- TogglePlayerControllable(playerid, 0);
- SetTimer("sadiseme", 20000, false);
- TogglePlayerControllable(playerid, 1);
- }
- else
- {
- SendClientMessage(playerid, -1, "Niste uzeli radno odelo!"); // šaljemo poruku igracu
- }
- }
- else
- {
- SendClientMessage(playerid, -1, "Niste na lokaciji za sadnju semena!"); // šaljemo poruku igracu ako nije u blizini lokacije
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment