[HELP] class help
#2

You see this line in every if statement u using &&
gPlayerClass[playerid] == ASSAULT && gPlayerClass[playerid] == SNIPER && gPlayerClass[playerid] == MEDIC && gPlayerClass[playerid] == ENGINEER && gPlayerClass[playerid] == SPY && gPlayerClass[playerid] == SPECIAL_FORCE

That mean player should be in all class to use that vehicle...
you need to change it to..
just do like this
if(GetVehicleModel(vehicleid) == 425 && gPlayerClass[playerid] == here add class name which u want.)
like this
if(GetVehicleModel(vehicleid) == 425 && gPlayerClass[playerid] == ASSAULT) that mean only assault class can use that vehicle .
Reply


Messages In This Thread
[HELP] class help - by usamahifi - 13.02.2015, 18:12
Re: [HELP] class help - by MBilal - 13.02.2015, 18:19
Re: [HELP] class help - by usamahifi - 13.02.2015, 18:21
Re: [HELP] class help - by usamahifi - 13.02.2015, 18:29

Forum Jump:


Users browsing this thread: 1 Guest(s)