Bus Job - 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: Discussion (
https://sampforum.blast.hk/forumdisplay.php?fid=84)
+---- Thread: Bus Job (
/showthread.php?tid=600948)
Bus Job -
Sanady - 14.02.2016
Good evening, I have one great idea how I should create Bus Job system, but there is problem with coding, how should I code routes that player need to pass? I want to create something that is not using too much if`s and switches, something normal or advanced, how should I do something like that?
Re: Bus Job -
Joron - 14.02.2016
You wanna create your own? i mean you could use some of the previous
FS and see how the persons did in theirs.
Re: Bus Job -
Virtual1ty - 14.02.2016
...
Onto your problem: you'll have to use arrays and store the current checkpoint in another variable which will serve as an index to that array.
Re: Bus Job -
YGComeUPs - 15.02.2016
Take a look at the filter scripts see if there already is one for you to use
Re: Bus Job -
Sanady - 15.02.2016
Quote:
Originally Posted by YGComeUPs
Take a look at the filter scripts see if there already is one for you to use
|
I saw many filterscript and all of them are using if 100 times in script which is using too much if function!