COM_AddCommand Help

Status
Not open for further replies.
I don't have a file for it, but how, exactly, do i use COM_AddCommand? I've tried using the wiki (several times) but I still can't manage to do it right.
 
It just executes a defined function, also passing the command parameters to the function. From the wiki:

The first argument is the player who executed the command, and all subsequent arguments are arguments passed to the command.
Example:
 
Last edited:
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top