get round and change cvar
Could anyone do a code what changes cvar on round 2 after sv_restartround 1 is trigered :)
|
Re: get round and change cvar
Next time post in requests section.
Code:
|
Re: get round and change cvar
actualy i had in mind that
round is restarted 1 round played and if comes second round server executes like my_cvar "1" |
Re: get round and change cvar
PHP Code:
|
Re: get round and change cvar
This not it :(
I had in mind if sv_restartround is executed you can play 2 rounds then server executes the command :) |
Re: get round and change cvar
Code:
// amx_autorestart 1/0, Enables and disables the functionIf you still want it to do it after 2 played rounds, just change EventRoundRestart into the New-round event trigger and hook the clients sv_restartround and link it to the currently named "EventRoundRestart" function. This is just briefly made to give you an idea about how to do it yourself. Hope it works. |
| All times are GMT -4. The time now is 04:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.