Lua run cl
From GMod Wiki
Revision as of 19:27, 19 November 2009 by Disseminate (Talk | contribs)
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())Entity.EyeAngles |
Output | Prints your world position and eye angles. |