Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(IsACop(playerid) || PlayerInfo[playerid][pAdmin] >= 1338 || IsAHA(playerid))
- {
- if(PlayerToPoint(10.0, playerid, 1544.6816, -1630.8596, 12.9796))
- {
- if(SzlabanPolicjaState == 1)
- {
- ApplyAnimation(playerid,"PED","bomber",4.1,0,0,0,0,0);
- format(string, sizeof(string), "* %s wdusza przycisk na pilocie od bramy.", sendername);
- ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- MoveObject(SzlabanPolicja, 1544.6816, -1630.8596, 12.9796, 2.5);
- SetObjectRot(SzlabanPolicja, 0, 3.4377, 89.3814);
- SzlabanPolicjaState = 0;
- }
- else
- {format(string, sizeof(string), "* %s wdusza przycisk na pilocie od bramy.", sendername);
- ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- MoveObject(SzlabanPolicja, 1544.6816, -1630.8596, 12.9796, 2.5);
- SetObjectRot(SzlabanPolicja, 0, 87.6625, 89.3814);
- SzlabanPolicjaState = 1;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment