05.07.2010, 23:52
Код:
public OnPlayerEnterVehicle(playerid,vehicleid) { if(CarInfo[vehicleid][FactionVeh] == 1) { if(PlayerAccount[playerid][Faction] != CarInfo[vehicleid][FactionID]) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid,COLOR_RED,"[!] You are not in this faction! You cannot drive this vehicle[!]"); } } return 1; }