29.11.2009, 17:40
pawn Код:
new Mafia[MAX_PLAYERS];
OnPlayerEnterVehicle(playerid, vehicleid, is passenger)
{
new VM = GetVehicleModel(vehicleid);
if(VM == 560 && Mafia[playerid] != 1 && !ispassenger)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR, "This vehicle belongs too the Mafia, You can't use it!");
}
return 1;
}