29.10.2010, 19:13
Got the "Searchinghit" worked,
but the AdminVehicle doesn't still work.
I have these in my script.
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.