[HELP] What is the best method to do this. - 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: [HELP] What is the best method to do this. (
/showthread.php?tid=237729)
[HELP] What is the best method to do this. -
[BKR]LUCAGRABACR - 10.03.2011
Hello, so I'm trying to add a delivery sidejob in my server, and I'm try to do it this way (sorry I'm on cellphone btw).
First add the "delivery1 [MAX_PLAYERS]"
Or smthing like that in top of the script
Then if the player enter a checkpoint (I'm using incognito streamer btw) the variable "delivery1" will be set to 1, and then the player needs to "deliver" the whatever that package is to a checkpoint, and then the player will get money and the variable "delivery1" will be set to 0
And else, if "delivery1" = 0 the player will get a message like "you haven't take the packages yet".
Now, is that a right way to do it? or it is wrong? Or is there any better/faster method to do it?
And I'm still confused on how to do it either lol, if someone can help here on how the script is I will be so grateful.
Can someone please help me? Thanks!.
(Btw how to set checkpointid, sorry, still confused about this one, the last script I made with checkpoints Id really goes wrong lol.).
Re: [HELP] What is the best method to do this. -
AK47317 - 10.03.2011
maybe u need to use
when the player enter checkpoint. After that u need to use
after the player enter the destination checkpoint..