17.07.2015, 16:20
Okay so this is my job code
how can i put this into a function so JOB_ALL = all jobs listed above?
Код:
#define JOB_COURIER (1) #define JOB_MECHANIC (2) #define JOB_TAXI (3) #define JOB_UNLOADER (4) #define JOB_MINER (5) #define JOB_FOOD_VENDOR (6) #define JOB_GARBAGE (7) #define JOB_SORTER (8) #define JOB_WEAPON_SMUGGLER (9)
Код:
if (PlayerData[playerid][pJob] != JOB_ALL) return SendErrorMessage(playerid, "You don't have the appropriate job.");