pause / bind pause
Hi,
i need help with pause. I check admincmd.sma where is a good function of pause, but it's for new cmd. I create function for pause with some conditons, but i need optimise. I would send cmd pause, and now run my fuction with some conditons (minimum connection time, ...). cmd pause and run fuction OR check bind and set bind pause 1) cmd pause block Code:
public plugin_init()I test it with function query_client_cvar(). Every my test: Bad CVAR request 3) else if you are dont help me, i must hard send for client this and use func_pause Code:
public client_putinserver(id)sorry my english is bad :D Thanks, BIGR. |
Re: pause / bind pause
refresh, please some answer
|
Re: pause / bind pause
1. I don't see anything wrong with that code, only the return is not needed.
2. It's not possible to get a client's binds. 3. That's slowhacking and is not allowed here. |
Re: pause / bind pause
drekes:
1) allow cmd pause after 60s, but as? its ok for cmd func_pause Code:
new time = 0 |
Re: pause / bind pause
refresh, please some answer about 1)
|
Re: pause / bind pause
What exactly do you want the plugin to do ?
It's a bit unclear to me. What does the pause command do ? |
Re: pause / bind pause
cmd pause, if you server cvars pausable is 1, it's paused the game. I dont know, what I must write about standart fuction pause.
|
Re: pause / bind pause
I tried this, and my console said i paused the game, but it doesn't seem to do anything.
|
Re: pause / bind pause
I need some dev. :(
Becouse I dont know, How I can edit client cmd pause. You can run fuction on any other commands (usp, buy, ...) but pause ? |
| All times are GMT -4. The time now is 02:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.