Advertisement
Guest User

Untitled

a guest
Oct 18th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. else if(GetPVarInt(playerid,"Gruz") > 0)
  2. {
  3. if(GetPVarInt(playerid,"GruzW") == 0)
  4. {
  5. SetPlayerAttachedObject(playerid,1,2060,5,0.068000,0.086999,0.132000,-73.600082,-13.200003,101.399971,0.617000,0.799000,0.625999);
  6. ApplyAnimation(playerid, !"CARRY", !"crry_prtial", 4.1, 0, 1, 1, 1, 1);
  7. SetPlayerSpecialAction(playerid,25);
  8. SetPVarInt(playerid,"GruzW",1);
  9. SetPlayerCheckpoint(playerid,2230.4050,-2285.9978,14.3751,3.0); // брать мешок
  10. }
  11. else
  12. {
  13. ApplyAnimation(playerid, !"CARRY", !"crry_prtial", 4.1, 0, 1, 1, 1, 1);
  14. if(IsPlayerAttachedObjectSlotUsed(playerid,1)) RemovePlayerAttachedObject(playerid,1);
  15. SetPVarInt(playerid,"GruzK",GetPVarInt(playerid,"GruzK")+1);
  16. SetPlayerSpecialAction(playerid,0);
  17. SetPVarInt(playerid,"GruzW",0);
  18. SetPlayerCheckpoint(playerid,2172.4978,-2255.2468,13.3041,3.0); // куда носить мешок
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement