SendCommand

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search


Description:
This will send a command to the server as though the NPC typed /command.


Parameters:

(commandtext)

commandtext: The text to be send as command.


Return Values:
This function does not return any specific values.


Example

//This will send the command '/givemeweapon 27' to the server.
SendCommand("givemeweapon 27");

Related Functions

The following functions may be helpful as they relate to this function in one way or another.