Hey there,
Does TriggerClientEvent takes the PlayerId() (Game ID, temporary) or the GetPlayerServerId(PlayerId()) ?
Edit : What about TriggerEvent as well ?
Thanks
Hey there,
Does TriggerClientEvent takes the PlayerId() (Game ID, temporary) or the GetPlayerServerId(PlayerId()) ?
Edit : What about TriggerEvent as well ?
Thanks
https://wiki.fivem.net/wiki/TriggerClientEvent
‘The player “server NetID”’
that takes no player id at all?
Oh alright, thanks a lot.
Another question, is the ‘source’ you get from a TriggerServerEvent a ServerID or PlayerID ? I would guess ServerID but I could be wrong
You’re correct actually
Its a magic value that is set to the players network it’s in the server’s code somewhere