client.Command s1
Runs a console command on the client. For safety, chat commands (say, say_team) are blocked — use client.ChatSay / client.ChatTeamSay instead.
Syntax
client.Command(cmd, unrestrict)
Parameters
cmdstring- The console command to execute.
unrestrictbool- If
true, bypasses the engine's command restrictions.
Returns
No return value.