23.07.2012, 13:35
It would seem that this works for what I want but The message still comes up. How can I arrange it so the message comes up if you actually change your job yet error messages come up if didnt change your job?
pawn Код:
if(!PlayerInfo[playerid][pJob] && PlayerInfo[playerid][pVIPJob] != JOB_MECHANIC) PlayerInfo[playerid][pJob] = JOB_MECHANIC;
else if(PlayerInfo[playerid][pVIP] >= 2 && !PlayerInfo[playerid][pVIPJob] && PlayerInfo[playerid][pJob] != JOB_MECHANIC) PlayerInfo[playerid][pVIPJob] = JOB_MECHANIC;
SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have joined the {FF6347}Mechanic {33CCFF}job, type /help to view your job commands.");