Hello,
On client side :
This workaround works:
On client side :
Code:
function OnPlayerSpawn(player) AddPlayerChat("player: " .. player) end AddEvent("OnPlayerSpawn", OnPlayerSpawn)
Code:
attempt to concatenate a nil value (local 'player')
This workaround works:
Code:
function OnPlayerSpawn() AddPlayerChat("player: " .. GetPlayerId()) end AddEvent("OnPlayerSpawn", OnPlayerSpawn)
Comment