quitjob command
#1

I currently use NG-RP mode. But it is not available in the command exits (quitjob). Please give me the command or measure
Reply
#2

Код:
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;
	}
Reply
#3

"Please give me" is kinda like saying you're kindly forcing it upon someone.
Reply
#4

You didn't notice https://sampforum.blast.hk/showthread.php?tid=447813?
Reply
#5

unsuccessful: (I need is conditioned CMD: quitjob
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)