10.02.2018, 11:55
I could make a variable systems for that with 2 different conditions, for example.
new TruckInfo[MAX_PLAYERS][4];
when the player selects one of these destinations, I could change the variable, for example TruckInfo[playerid][0] = 1 and when he reaches the destination, we have a another 3 variables left for action.
we'll simply check the TruckInfo[playerid][0] variable and i if it's 1, than player already been here.
than we'll simply change the next variable in next dialog, TruckInfo[playerid][1] = 1; and etc.
new TruckInfo[MAX_PLAYERS][4];
when the player selects one of these destinations, I could change the variable, for example TruckInfo[playerid][0] = 1 and when he reaches the destination, we have a another 3 variables left for action.
we'll simply check the TruckInfo[playerid][0] variable and i if it's 1, than player already been here.
than we'll simply change the next variable in next dialog, TruckInfo[playerid][1] = 1; and etc.

