15.08.2009, 09:20
Hi, i have a problem with one code. I need that when in the server aren't cops(playerDB[i][specialybe]=1) then i can't enter the car
here the script :
when i compile that code no errors and warns but in the server always i cant enter the car. when cops are online, too.
sry for my bad EN.
here the script :
Код:
for(new i = 0; i <MAX_PLAYERS; i++){ if(IsPlayerConnected(i) && playerDB[i][specialybe]!=1){ RemovePlayerFromVehicle(playerid); SendClientMessage(playerid,COLOR_IVORY,"* Serveryje рiuo metu nлra policininkш!";); // no police online < -- return 1; }
sry for my bad EN.