in the meta file:
<script src="clientCommands.lua" type="client"/>
my client command:
function getSerial()
local ser = getPlayerSerial()
outputChatBox("Your serial is: "..tostring(ser))
end
addCommandHandler("serial", getSerial, false)
addCommandHandler("myserial", getSerial, false)
I have tried everything but when I type /serial nothing happens.