14.02.2014, 16:20
I currently use NG-RP mode. But it is not available in the command exits (quitjob). Please give me the command or measure
if(strcmp(cmd, "/quitjob", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pJob] > 0) { if(PlayerInfo[playerid][pJob] == 17 && CP[playerid] != 0) { CP[playerid] = 0; DisablePlayerCheckpoint(playerid); } SendClientMessage(playerid, COLOR_WHITE, "Job quited succefully"); PlayerInfo[playerid][pJob] = 0; } else { SendClientMessage(playerid, COLOR_GREY, "You have no job"); } } return 1; }