22.05.2014, 11:59
The code above fixes the problem, you just need to change the name of the command.
The problem was here:
If PlayerInfo[playerid][JobContract] == 0, then 0 is less than 5 (0 < 5). So you will get that error message.
So I made it:
If PlayerInfo[playerid][JobContract] is between 0 and 5, then send the message.
The problem was here:
pawn Код:
if(PlayerInfo[playerid][JobContract] < 5) return SCMF(playerid,SVIJETLOPLAVA,"You can't quit, you are done %d hours of 5 job contract !",PlayerInfo[playerid][JobContract]);
So I made it:
pawn Код:
if(0 < PlayerInfo[playerid][JobContract] < 5)