JOB Help
#2

Quote:
Originally Posted by NealPeteros
Посмотреть сообщение
G'day to you all. I woild like to ask help on how I can make a job with the ff. features:

1. You have to call a specific number to do the job
2. There is no specific place where the player can /join the job. He can only call to do the job.
3. It's like the job in Next Generation Roleplay wherein a number is needed to do the overseas run.

If you need something from the script, please reply to this post a and tell me what you need. Thanks
make a boolean that holds if the player is doing the job or not.

on the /call command, check if the number given as parameter is equal to the number of the job.
i.e: if(numberGiven == 522443) { do something }

then you check if the player is already in the job, using the boolean.
if not, set the boolean to true and do the job setting. if yes, send error message.

then you script the job like any other job.
Reply


Messages In This Thread
JOB Help - by NealPeteros - 14.07.2016, 22:31
Re: JOB Help - by yutaruta - 14.07.2016, 23:21
Re: JOB Help - by NealPeteros - 15.07.2016, 09:10
Re: JOB Help - by TaiRinsuru - 15.07.2016, 09:13
Re: JOB Help - by Jonesy96 - 15.07.2016, 09:19
Re: JOB Help - by NealPeteros - 15.07.2016, 09:28

Forum Jump:


Users browsing this thread: 1 Guest(s)