Hello I try any solutions to resolve my problem but all solutions didn’t work
My problem is that my TriggerServerEvent (‘GetIDPlayer’) is in a loop that returns a TriggerServerEvent with a drawtxt. The trick is that I feel like I have an epileptic seizure with the message blinking every 0.0000001 seconds. It’s horrible :3 So the solution is to use that code and it doesn’t works. An idea to solve my problem?
local pos = GetEntityCoords(GetPlayerPed(-1)) local rped = GetClosestPed(pos['x'], pos['y'], pos['z'], 5.0,1,1,0) if DoesEntityExist(rped) then TriggerServerEvent('GetIDPlayer') end