Error.
#6

Got the "Searchinghit" worked,
but the AdminVehicle doesn't still work.

pawn Код:
forward IsAdminVehicle(carid);
pawn Код:
public IsAdminVehicle(carid)
{
if((carid >= 239 && carid <= 998))
    {
        return 1;
    }
    return 0;
}
pawn Код:
if(IsAdminVehicle(newcar))
        {
            if(PlayerInfo[playerid][pAdmin] >= 1)
            else {
            RemovePlayerFromVehicle(playerid);
            }
            return 1;
        }

I have these in my script.
Reply


Messages In This Thread
Error. - by Eeeh - 29.10.2010, 17:51
Re: Error. - by Jochemd - 29.10.2010, 18:31
Re: Error. - by willsuckformoney - 29.10.2010, 18:37
Re: Error. - by Kidemo - 29.10.2010, 18:41
Re: Error. - by The_Moddler - 29.10.2010, 18:49
Re: Error. - by Eeeh - 29.10.2010, 19:13
Re: Error. - by MadeMan - 29.10.2010, 20:49
Re: Error. - by Eeeh - 30.10.2010, 08:39
Re: Error. - by MadeMan - 30.10.2010, 11:00
Re: Error. - by Eeeh - 30.10.2010, 12:18

Forum Jump:


Users browsing this thread: 1 Guest(s)