22.02.2010, 14:30
pawn Код:
new vehicleid = GetPlayerVehicleID(playerid);
if(newstate == PLAYER_STATE_DRIVER)
{
if(GetVehicleModel(vehicleid) == 416)
{
if(!GetPlayerTeam .....
{
SendClientMessage(playerid, 0xFFFFFFFF, "You are not authorized to drive this vehicle");
RemovePlayerFromVehicle(playerid);
}
}
}
return 1;
}
EDITED TRY THT