Quote:
Originally Posted by Kid_Bandes
|
That plugin won't work with Tank Rush because the tanks are not spawned through the director, they're spawned with the cheat command "z_spawn_old tank auto"
Quote:
Originally Posted by Kid_Bandes
Btw, do you know any plugin that can combine 2 cvars? Or how to?
Example: i have 2 cvars: sm_afk and sm_jointeam3, how can i combine them into 1 cvar like sm_tankfix, so when i execute that cvar it will execute 2 cvars that i combined. This will help infected players to get out of stuck easier
|
I think you're confusing a cvar with a command. A cvar is something that you assign a value to, like sv_cheats or sv_alltalk is '0' or '1' or how mp_gamemode can be "versus" or "coop" and other game modes. A command is something you type in chat to have a plugin do something.
Anyway, if you wanted to combine commands you'd have to change the plugin code and make them into one big plugin.
Alternatively, you can have your users bind the commands to a key, like this:
"bind <key> sm_afk; sm_jointeam3"
and replace <key> with the key that person wants to use, like c or v.