forked from mirror/openmw-tes3mp
[Server] Add customData to Player
example: counter = 0 Event.register(Events.ON_PLAYER_CONNECT, function(player) player.customData.counter = counter counter = counter + 1 return true end) CommandController.registerCommand("test", function(player, args) player:message(player.customData.counter, false) return true end, "")new-script-api
parent
7a0b45d456
commit
dffd3bfa7d
Loading…
Reference in New Issue