26.08.2011, 12:05
pawn Код:
if(newstate == 2) {
new vehicle;
vehicle = GetVehicleModel(GetPlayerVehicleID(playerid));
if(vehicle == 421) {
if(gTeam[playerid] == TEAM_DRIVERS) {
if(GetPlayerScore(playerid) < 120) {
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_RED, "You need a score of at least 120 to drive this car.");
}
}
}
return 1;
}