TriggerClientEvent takes PlayerId() or server ID?


#1

Hey there,

Does TriggerClientEvent takes the PlayerId() (Game ID, temporary) or the GetPlayerServerId(PlayerId()) ?

Edit : What about TriggerEvent as well ?

Thanks


#2

‘The player “server NetID”’

that takes no player id at all?


#3

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


#4

You’re correct actually :slight_smile:

Its a magic value that is set to the players network it’s in the server’s code somewhere :wink: