It used to be that console commands were not allowed in multiplayer games so people couldn't cheat and ruin the game.
This article describes how creating new key commands basically runs cvars.
Is adding new key commands not possible in multiplayer? I'm specifically needing to set player keys to run scripts to give them inventory items. Will this work?
Keyconf, console commands/cheats in multiplayer
-
Galaxy_Stranger
- Posts: 21
- Joined: Fri Oct 19, 2012 7:05 pm
- Contact:
- Slim
- Zandrone
- Posts: 1112
- Joined: Sat Mar 16, 2013 7:11 am
- Location: Zero Space
- Clan: Can't fit it in here
- Clan Tag: -=FSR=-
- Contact:
RE: Keyconf, console commands/cheats in multiplayer
Code: Select all
alias givestuff "give all;echo "Items received."
addkeysection "Section for Custom Commands"
addmenukey "Give All" givestuff
-
Galaxy_Stranger
- Posts: 21
- Joined: Fri Oct 19, 2012 7:05 pm
- Contact:
RE: Keyconf, console commands/cheats in multiplayer
Oh, I understand how to implement, my question is whether or not this won't work while hosting a multiplayer Zandronum server because trying to run cvars during a multiplayer game wouldn't work.
RE: Keyconf, console commands/cheats in multiplayer
It will work, but not with the "give" command. Puke a NET script instead.
-
Galaxy_Stranger
- Posts: 21
- Joined: Fri Oct 19, 2012 7:05 pm
- Contact:
RE: Keyconf, console commands/cheats in multiplayer
Ok, cool. All I have to do is create NET scripts.
Thanks.
Thanks.

