Gangs cars
#8

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;
}
Here try this it's untested.
Reply


Messages In This Thread
Gangs cars - by whitedragon - 29.11.2009, 16:04
Re: Gangs cars - by 666godspeed666 - 29.11.2009, 16:16
Re: Gangs cars - by whitedragon - 29.11.2009, 16:33
Re: Gangs cars - by 666godspeed666 - 29.11.2009, 16:48
Re: Gangs cars - by whitedragon - 29.11.2009, 16:59
Re: Gangs cars - by 666godspeed666 - 29.11.2009, 17:12
Re: Gangs cars - by 666godspeed666 - 29.11.2009, 17:13
Re: Gangs cars - by [NYRP]Mike. - 29.11.2009, 17:40
Re: Gangs cars - by whitedragon - 29.11.2009, 17:42
Re: Gangs cars - by [NYRP]Mike. - 29.11.2009, 17:44

Forum Jump:


Users browsing this thread: 1 Guest(s)