20.03.2010, 06:34
Код:
new c_gate;
Код:
new c_gate_status; forward CheckGate(); public CheckGate() { for(new i;i<MAX_PLAYERS;i++) { if(!IsPlayerConnected(i)) continue; if(IsPlayerInRangeOfPoint(i,10.0,1588.0451660156, -1638.1147460938, 15.199743270874))c_gate_status = 1; } if(c_gate_status) MoveObject(c_gate, 1598.0441894531, -1638.2209472656, 15.199743270874, 2); else MoveObject(c_gate, 1588.0451660156, -1638.1147460938, 15.199743270874, 2); }
Код:
c_gate = CreateObject(980, 1588.0451660156, -1638.1147460938, 15.199743270874, 0, 0, 0);
i was tryed but nothing gud happened
i have /police ant /outjob commands
police[playerid] = 1; | police[playerid] = 0;
new police[MAX_PLAYERS];