system_player_id environment variable - VanaDev/Vana GitHub Wiki
Script Type(s): All Scripts
Category: Environment Variables
API Version(s): 1.0.0 to current
Type: number
Notes: If a player triggers a script, this value contains the player's identifier. This is used to deliver player-sensitive results. For example, the getMap Lua export uses this value to return the player's map.
This value should NOT be modified directly. If a change is desired, use the setPlayer Lua export and the revertPlayer Lua export instead.