Skip to content

entities.GetLocalPlayer cs2

Syntax

entities.GetLocalPlayer() → userdata

Returns

Returns userdata.

Notes

Note

It's recommended to check if localplayer entity is alive / not nil to avoid errors

Appears in: Vector Math