Need some help :)
#1

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 :
Код:
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;
}
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.
Reply


Messages In This Thread
Need some help :) - by Rokis - 15.08.2009, 09:20
Re: Need some help :) - by DeathOnaStick - 15.08.2009, 09:35
Re: Need some help :) - by Rokis - 15.08.2009, 09:44
Re: Need some help :) - by Rokis - 15.08.2009, 10:40

Forum Jump:


Users browsing this thread: 2 Guest(s)