Lua run cl
From GMod Wiki
| | Go to: Console |
| Command | |
| Syntax | lua_run_cl String code |
| Available On: | |
| Part Of: | Garry's Mod |
| Description: | |
| A console command that allows you to run lua code on the client. | |
Examples
| Description | You can run any valid lua code with this, provided scriptenforcer is off. |
|---|---|
| Used on | |
| Code | lua_run_cl print(LocalPlayer():GetPos(),LocalPlayer():EyeAngles()) |
| Output | Prints your world position and eye angles. |