Locking classes to faction
#4

I guess here is the problem

PlayerInfo[playerid][pFac] == FAC_POLICE;

should be

PlayerInfo[playerid][pFac] = FAC_POLICE;

2 equal ( == ) used in If statements.
1 equal used to set a var. equal to a value



Pss Rep if this helped you
Reply


Messages In This Thread
help with classes please - by ross8839 - 26.05.2017, 12:50
Re: Locking classes to faction - by Wary - 26.05.2017, 12:52
Re: Locking classes to faction - by ross8839 - 26.05.2017, 12:54
Re: Locking classes to faction - by mongi - 26.05.2017, 14:25
Re: Locking classes to faction - by ross8839 - 26.05.2017, 14:32

Forum Jump:


Users browsing this thread: 1 Guest(s)