Not getting pos properly..
#8

Using a loop:
PHP код:
new boolisequal;
for (new 
i!= sizeof (LEOveh); ++i)
{
    if (
vehicleid == LEOveh[i])
    {
        
isequal true;
        break;
    }
}

if (
equal && pInfo[playerid][Faction] != 1)
{
    
SendClientMessage(playeridCOLOR_LIGHTRED"SERVER:{FFFFFF} You need to be a police officer in order to operate this vehicle!");
    
RemovePlayerFromVehicle(playerid);

Reply


Messages In This Thread
Not getting pos properly.. - by izeatfishz - 11.04.2015, 14:09
Re: Not getting pos properly.. - by Konstantinos - 11.04.2015, 14:12
Re: Not getting pos properly.. - by izeatfishz - 11.04.2015, 14:18
Re: Not getting pos properly.. - by Konstantinos - 11.04.2015, 14:24
Re: Not getting pos properly.. - by izeatfishz - 11.04.2015, 14:33
Re: Not getting pos properly.. - by Konstantinos - 11.04.2015, 14:38
Re: Not getting pos properly.. - by izeatfishz - 11.04.2015, 14:39
Re: Not getting pos properly.. - by Konstantinos - 11.04.2015, 14:45

Forum Jump:


Users browsing this thread: 1 Guest(s)