how to certain team can enter a car TEAM_MEDIC etc
#2

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;
}
SORRY THATS WRONG IL EDIT IT
EDITED TRY THT
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)