[Rankying System]
I need plugins rankying system for cs 1.6. When player say: /rank then player can see menu:
[Rank System]: 1. Rank: %d of %s 2. Kills: %d | Deaths: %s 3. Online: %d When player press any of 1, 2 or 3 button then menu closed. |
Re: [Rankying System]
1 Attachment(s)
|
Re: [Rankying System]
TH Brother soo much!
|
Re: [Rankying System]
Quote:
eagle07 can you set task for menu only 10 sec after 10 sec it will erase !! |
Re: [Rankying System]
1 Attachment(s)
Eagle, why you open the vault on each player connect or disconnect. Waste of CPU. Just make it global, open it in plugin_init and close it in plugin_end.
And why (the hell?!) are you using player's IP as a key. It could be easily changed, you need the steamID instead. Why you even get the info from the menu? Just destroy it in the handler no matter which option did the player use. You don't need to format the vault data with formatex, since there is only one integer to save in (PlayedTime). Use num_to_str instead. You also have some redundant lines with static Kills and Deaths, which you don't use anywhere. I have fixed these little mistakes, here is the code. Btw, it's disappearing after 10 seconds. If you don't want to, just remove these lines: PHP Code:
|
Re: [Rankying System]
Flicker didn't "fixed" everything.
1. PHP Code:
2. Use formatex instead of format. |
Re: [Rankying System]
Didn't notice that. Let the OP have it on his mind, I'm not able to upload the new code now.
|
| All times are GMT -4. The time now is 15:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.