- LuiisRubio wrote:
- I can't found what's wrong in the script, can you explain me how you reproduce that bug?
Under /highlight - Check whats defining a player to be highlighted. Something like
" Highlight[playerid] = 1 " w/e it is
then under OnPlayerDisconnect,make sure it resets back to 0.
That bug happens because something isn't being canceled out. So when another player connects with the same id of the ex-highlighted player who left will join as being highlighted.
Anything like "[playerid] = 1" has to be canceled out eventually(OnDisconnect) or you end up with bugs like this one.
You should know that already Luiis.
btw I tested this already.....
if you /highlight someone and they leave,the next person to come will be highlighted.
btw that is how that bug is produced. ^^^^^^^^
Don't believe me? Try it for yourself.