[HELP] What is the best method to do this.
#1

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.).
Reply
#2

maybe u need to use
pawn Код:
delivery1[playerid] = 1
when the player enter checkpoint. After that u need to use
pawn Код:
delivery1[playerid] = 0;
after the player enter the destination checkpoint..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)