SA-MP Forums Archive
I need help fast! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I need help fast! (/showthread.php?tid=273169)



I need help fast! - Pasa - 31.07.2011

I am working on a job script an i dont know how to make that player must use the comand /acceptjob to employ on a job how to make something like this:


PHP код:
if(job == 1)
{
//here the commands ot the jobs

and you must have 5 hours to /quitjob and the time from the job to save it!


Re: I need help fast! - FaSihYouSf - 31.07.2011

make a showplayerdialog or something like that


Re: I need help fast! - Pasa - 31.07.2011

you dont understund me!

i don't know how to make a command

/acceptjob, and now he can drive a vehicle of the job and use the commands of the job how to make that and in the scriptfiles saves (name.file/job example 1)


Re: I need help fast! - =WoR=Varth - 01.08.2011

pawn Код:
if(IsPlayerInRangeOfPoint(playerid,range,x,y,z)
{
   job[playerid] == 1;
   return 1;
}