General > Developers Corner
Adding Custom Commands?
TheAndroid1:
For the traitor code add this after v:SetRole(ROLE_TRAITOR)
--- Code: ---v:AddCredits(GetConVarNumber("ttt_credits_starting"))
--- End code ---
And add this after v:SetRole(ROLE_DETECTIVE)
--- Code: ---v:AddCredits("1")
--- End code ---
This is to give the players that are cheating the right amount of credits, otherwise they would change with zero credits.
Navigation
[0] Message Index
[*] Previous page
Go to full version