Hey all, i tried to make a taxi job using atleast all the knowledge i have about scriptin in Lua. So basically,my problem is when 2 or more players doing the job, the message player1 was supposed to see,player2 also can see it. Also,sometimes, the blip that was visible for player1 only, becomes visible also to player2 ((((( i tried to see where the bug was, but no idea. Everything i did seems to be perfectly alright but some bugs had to show there ugly faces
So here is the code
As you can see, i had to use setElementData and getElementData to avoid collisions with players. i used their names to differentiate them. (This is the serverside, the clientside contains only the gui, so no need to worry about the client side)
The problem:
Because 2 players where doing the job at that time, and i got 2 messages instead of 1 and i could see the marker's blip of the other player too.
Help me guys, and thanks in advance