Little Help +Rep
#2

pawn Код:
new PickedClass[MAX_PLAYERS];
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(PickedClass != AGENT && GetVehicleModel(vehicleid) == hydra id here)
    {
        ClearAnimations(playerid);
        SendClientMessage(playerid, -1, "[*]: You should be Agent in order to drive hydra!");
    }
return 1;
}
This is an example, you can do other's this way.
Reply


Messages In This Thread
Little Help +Rep - by Nirzor - 16.09.2012, 14:40
Re: Little Help +Rep - by AtItsMax - 16.09.2012, 14:45
Re: Little Help +Rep - by Nirzor - 16.09.2012, 14:46
Re: Little Help +Rep - by diego_p11 - 16.09.2012, 15:15

Forum Jump:


Users browsing this thread: 1 Guest(s)