quitjob command - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: quitjob command (
/showthread.php?tid=494745)
quitjob command -
acchack1vn - 14.02.2014
I currently use NG-RP mode. But it is not available in the command exits (quitjob). Please give me the command or measure
Re: quitjob command -
Clad - 14.02.2014
Код:
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;
}
Re: quitjob command -
Aerotactics - 14.02.2014
"Please give me" is kinda like saying you're kindly forcing it upon someone.
Re: quitjob command -
ACI - 14.02.2014
You didn't notice
https://sampforum.blast.hk/showthread.php?tid=447813?
Re: quitjob command -
acchack1vn - 14.02.2014
unsuccessful: (I need is conditioned CMD: quitjob