Detecting if a player has a custom define
#1

Hey there! I am making a script but I need somehelp on defining something

I have
new pJob[MAX_PLAYERS];

And the defines are:

#define pJob_1
#define pJob_2

Now this all works.

I also setted someones job to job 1 with a command.

Now I need:

if(*player job is pJob_1*)

How to make that last part?
Reply


Messages In This Thread
Detecting if a player has a custom define - by milanosie - 11.01.2012, 14:06
Re: Detecting if a player has a custom define - by Norck - 11.01.2012, 14:11
Re: Detecting if a player has a custom define - by milanosie - 11.01.2012, 14:15
Re: Detecting if a player has a custom define - by Norck - 11.01.2012, 14:19

Forum Jump:


Users browsing this thread: 1 Guest(s)