if(containi(szCommand,"vban")) PUG_HamKilledPost(id); // Infinite respawn fix
PHP Code:
If the player connect to server and join in any team after X seconds passed in round, its not re-spawn automatically. Some suggestion? |
Re: if(containi(szCommand,"vban")) PUG_HamKilledPost(id); // Infinite respawn fix
For me that code means nothing, some other commands are sent automatically during the game such as VModEnable, specmode, spec_set_ad and client_buy_close.
Players are auto respawned if round time is less than 20 sec from round starts (or new round, whatever). So what you want to do with this ? What is "infinite" respawn ? triggers by a specific plugin ??? If you only want to prevent players from spawn outside of the new round spawns routine, just set spawn count player pdata to 1 when client_putinserver is sent. PHP Code:
Or maybe you need this : https://forums.alliedmods.net/showthread.php?t=191815 I've made a big mistake in that code so don't use it, just remind me to fix, if you need it. Edit : Should be fixed |
Re: if(containi(szCommand,"vban")) PUG_HamKilledPost(id); // Infinite respawn fix
Thanks, for now the cmd vban its only called when a player join in any team for first time i testing this command, its really only called one time :)
|
| All times are GMT -4. The time now is 16:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.