Guest User

Untitled

a guest
Feb 4th, 2012
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. if(IsACop(playerid) || PlayerInfo[playerid][pAdmin] >= 1338 || IsAHA(playerid))
  2. {
  3. if(PlayerToPoint(10.0, playerid, 1544.6816, -1630.8596, 12.9796))
  4. {
  5. if(SzlabanPolicjaState == 1)
  6. {
  7. ApplyAnimation(playerid,"PED","bomber",4.1,0,0,0,0,0);
  8. format(string, sizeof(string), "* %s wdusza przycisk na pilocie od bramy.", sendername);
  9. ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
  10. MoveObject(SzlabanPolicja, 1544.6816, -1630.8596, 12.9796, 2.5);
  11. SetObjectRot(SzlabanPolicja, 0, 3.4377, 89.3814);
  12. SzlabanPolicjaState = 0;
  13. }
  14. else
  15. {format(string, sizeof(string), "* %s wdusza przycisk na pilocie od bramy.", sendername);
  16. ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
  17. MoveObject(SzlabanPolicja, 1544.6816, -1630.8596, 12.9796, 2.5);
  18. SetObjectRot(SzlabanPolicja, 0, 87.6625, 89.3814);
  19. SzlabanPolicjaState = 1;
  20. }
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment