KcdMp.player_pos
The local player’s position as a string.
A quick readout for logs - "1280.5 1088.0 26.3". For numbers, read the player entity directly:
player:GetWorldPos() gives {x=, y=, z=}.
Syntax
Section titled “Syntax”KcdMp.player_pos()Returns
Section titled “Returns”string - "x y z" with one decimal; "none" before the player exists
Example
Section titled “Example”System.LogAlways("[KcdMp] I am at " .. KcdMp.player_pos())See also
Section titled “See also”KcdMp.level · the Helpers group of the index
