SA-MP Forums Archive
/getjob 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: /getjob command (/showthread.php?tid=598254)



/getjob command - NealPeteros - 10.01.2016

I have the job but I don't know how to get it. Please help. Thanks


Re: /getjob command - GTLS - 10.01.2016

Hello mate, to make a /getjob command, use like:
PHP код:
 if(PlayerIsInRangeOfPoint(2.0,X,Y,Z)
{
        
PlayerInfo[playerid]pJob] = 5;
        
SendClientMessage(-1"You are now a Drugs Dealer.");

so in /getjob command, use your Job number in place of 5 and set jobs accordingly.


Re: /getjob command - saffierr - 10.01.2016

Use your created variables.