Update race_client.lua
Fixed checkpoints problem from specting mode.
Fixed code by robson from MTA Race community
Fixed checkpoints problem from specting mode.
What does this mean? Can you describe the problem you're trying to fix?
Aside from that, the suggested changes are a little odd; a function definition which is never used, accessing table indexes without verifying they exist, and commented out code - please refer to the code review comments.
The issue is about the destroyElement error warning in blips on debugscript, which occurs when you are respawning back into the race or spectating a player.
Layers that you should test the both codes at online races and check it
if isElement(blip3.blip2) then if blip3.blip2 then
This code is bad, so I don't trust any of the other code to be good, especially when the author hasn't described the changes clearly.