16.09.2012, 14:45
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;
}