Timed Rank Display
PHP Code:
Fyi I'm running gameME stats and not stats from amxmodx. https://github.com/gamemedev/plugin-...me_cstrike.sma |
Re: Timed Rank Display
You want to display rank every 10minutes?
If so, use set_task, put the time 600.0, with "b" flags in plugin_init |
Re: Timed Rank Display
Also, instead of the entire code you put in the function, you can simply run "client_cmd" with index 0 - this will execute the command for all connected players and you don't need any checks nor loops.
|
Re: Timed Rank Display
PHP Code:
|
Re: Timed Rank Display
Quote:
|
Re: Timed Rank Display
That warning doesnt matter, what matter is: did steam blocked also say command sent from plugins, i didnt test it yet
|
Re: Timed Rank Display
Just do this:
PHP Code:
You're getting indentation error because your indentation (spaces/tabs in the beginning of lines) is not consistent. |
Re: Timed Rank Display
Thanks guys, I'll load this up OciXCrom and test it. I used notepad++ for editing.
|
Re: Timed Rank Display
Quote:
|
Re: Timed Rank Display
I can't recommend this one enough instead of notepad: https://forums.alliedmods.net/showthread.php?t=300661
|
All times are GMT -4. The time now is 21:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.