10.02.2018, 08:55
So im making my own truck job from scratch and i`ve made 4 destinations.
a player can choose from a dialog one of the 4 destinations.
The problem is,when a player enters a checkpoint,i want him to be able to choose the other 3 destinations,so he can`t choose the same destination and go all over again the same checkpoints.
I was thinking about making a variable like PlayerData[playerid][TruckCPnumber] and set it to 1-2-3-4 and check at OnDialogResponse if he`s number is 1,he can`t choose the number 1 etc.
is there any more efficient way?
a player can choose from a dialog one of the 4 destinations.
The problem is,when a player enters a checkpoint,i want him to be able to choose the other 3 destinations,so he can`t choose the same destination and go all over again the same checkpoints.
I was thinking about making a variable like PlayerData[playerid][TruckCPnumber] and set it to 1-2-3-4 and check at OnDialogResponse if he`s number is 1,he can`t choose the number 1 etc.
is there any more efficient way?

