onClientCommand
From Liberty Unleashed Wiki
This event is called when the local player types a / command
Syntax
function onClientCommand( cmd, text )
Arguments
- cmd - The command typed
- text - The text passed to the command
Returns
- 1 - Let the command be sent to the server.
- 0 - Stops the command being sent to the server
Example
Some explanation here
This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o
-- todo
Notes
-- List of used functions and other notes here.
Related Events
- onClientArmourChange
- onClientCashChange
- onClientCollideWithPlayer
- onClientCommand
- onClientDeath
- onClientFall
- onClientHealthChange
- onClientHurt
- onClientKill
- onClientKeyStateChange
- onClientRequestClass
- onClientRequestSpawn
- onClientShot
- onClientSpawn
- onClientUseDetonator
- onClientWeaponChange
- onPlayerDeath
- onPlayerJoin
- onPlayerKill
- onPlayerPart
- onPlayerSpawn