Excluding classes from entering vehicles??
#6

Quote:
Originally Posted by daac
Посмотреть сообщение
I want it to exclude a specific class...
Well, how about using GetPlayerSkin function? To see if their skin equals to X X X X, where X = Zombie skin ??

for example:

pawn Код:
if(GetPlayerSkin(playerid) == 0)
      ClearAnimations(playerid);
This will prevent CJ class from entering the vehicle.
Reply


Messages In This Thread
Excluding classes from entering vehicles?? - by daac - 01.04.2012, 14:26
Re: Excluding classes from entering vehicles?? - by antonio112 - 01.04.2012, 14:28
Re: Excluding classes from entering vehicles?? - by daac - 01.04.2012, 14:29
Re: Excluding classes from entering vehicles?? - by Avi57 - 01.04.2012, 14:30
Re: Excluding classes from entering vehicles?? - by daac - 01.04.2012, 14:32
Re: Excluding classes from entering vehicles?? - by antonio112 - 01.04.2012, 14:32
Re: Excluding classes from entering vehicles?? - by daac - 01.04.2012, 14:35

Forum Jump:


Users browsing this thread: 2 Guest(s)