Anderen2 / RTS

An 3D LAN-Multiplayer (R)eal (T)ime (S)trategy game (C&C Generals style) made in Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consolemodule Addcommand function

Anderen2 opened this issue · comments

Add it! So its not necessary to put every command into debug.py

Added. Function name is debug.ACC(cmdname, functionpointer, commanddescription, argumentsneeded)
Giving -1 in argsneeded makes the command run at any number of arguments