Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if(GetPVarInt(playerid,"Gruz") > 0)
- {
- if(GetPVarInt(playerid,"GruzW") == 0)
- {
- SetPlayerAttachedObject(playerid,1,2060,5,0.068000,0.086999,0.132000,-73.600082,-13.200003,101.399971,0.617000,0.799000,0.625999);
- ApplyAnimation(playerid, !"CARRY", !"crry_prtial", 4.1, 0, 1, 1, 1, 1);
- SetPlayerSpecialAction(playerid,25);
- SetPVarInt(playerid,"GruzW",1);
- SetPlayerCheckpoint(playerid,2230.4050,-2285.9978,14.3751,3.0); // брать мешок
- }
- else
- {
- ApplyAnimation(playerid, !"CARRY", !"crry_prtial", 4.1, 0, 1, 1, 1, 1);
- if(IsPlayerAttachedObjectSlotUsed(playerid,1)) RemovePlayerAttachedObject(playerid,1);
- SetPVarInt(playerid,"GruzK",GetPVarInt(playerid,"GruzK")+1);
- SetPlayerSpecialAction(playerid,0);
- SetPVarInt(playerid,"GruzW",0);
- SetPlayerCheckpoint(playerid,2172.4978,-2255.2468,13.3041,3.0); // куда носить мешок
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement