Rank plugin.
The plugin makes rank for everybody.
Player will have a small display ranking in his in-game screen (hud message) base on his stats. Here's the list of rank that you can be. 100 - Private 200 - Private First Class 400 - Corporal 800 - Sergeant 1000 - Staff Sergeant 2000 - Gunnery Sergeant 4000 - Master Sergeant 8000 - Command Sergeant 10000 - Second Lieutenant 12000 - First Lieutenant 15000 - Colonel 20000 - Brigadier General 40000 -Major General 50000 - Lieutenant General 80000 - General 100000 -General of the Army This plugin doesnt work, it always says that my rank is General. Doesnt matter how many kills do i have. Here's the code. Please take a look at it and fix it if you can. Code: Code:
#include <amxmodx> |
Re: Rank plugin.
There is a two week bump minimum..
|
Re: Rank plugin.
If you only need to know his frags, you'd better use
Code:
|
Re: Rank plugin.
Do not post here if you don't know what you are talking about.. He is getting the users rank stats.. Not just in game kills for that map/round/connection/whatever.
|
Re: Rank plugin.
So, any ideas how to fix it?
|
Re: Rank plugin.
Aiml4x you should use [ small ] tags when posting a snippet
Quote:
Quote:
here is a debug version: Code:
|
Re: Rank plugin.
Thanks man, i love you.
|
Re: Rank plugin.
Max rank that you can get its Private you can not go upper then it.
Could you fix it plz? |
Re: Rank plugin.
Quote:
I said that he is pulling the users stats.. |
Re: Rank plugin.
Instead of those endless if branches, just loop.
Code:
|
| All times are GMT -4. The time now is 22:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.