DrawText3Ds from client to server loop

Ok so im trying to create a drag racing script so when player1 goes to the start they press E to start the race then player2 can come up to the line and press E to accept the race or G to deny the race.

The problem Im having is When i press E to Start the race my buddy can still see I to start the race.

Client:

local ped = PlayerPedId()
local pos = GetEntityCoords(ped)
local newrace = true
local drawtext = true

RegisterNetEvent('qb-dragrace:client:start')
AddEventHandler('qb-dragrace:client:start', function (drawtext)
    drawtext = false
end)

Citizen.CreateThread(function ()
    while drawtext == true do
        local start = Config.Location.Start
        local pos = GetEntityCoords(PlayerPedId())
        local dis = #(pos - start)
        Wait(0)
        if dis <= 10 then
            DrawText3Ds(start.x, start.y, start.z, "[~g~E~w~] Start Race")
            ped = PlayerPedId()
            if IsControlJustReleased(0, 46) then
                drawtext = false
                if not ped then
                    drawtext = false
                end
            end
        end
    end
end)```


I've tried putting

 ```If iscontroljustreleased(0,46) then TriggerServerEvent('qb-dragrace':server:start)``` but that dont work either


Server:
```RegisterServerEvent('qb-dragrace:server:start')
AddEventHandler('qb-dragrace:server:start', function ()
    startrace = true
    local ped = -1
    if startrace then
        TriggerClientEvent('qb-dragrace:client:start', -1, drawtext)
    end
end)```

Any help would be greatly appreciated