Jump to content
Sign in to follow this  
R34P3R

Ranking Script whant work...

Recommended Posts

Hi there.. does anyone know why my ranking script whant work ??

while {(local player)} do {	

if (rating player >= 130 AND rankid player == 5) then {
	Player setRank "Colonel";
	hint format ["Sie wurden soeben zum %1 befördert",rank Player];
};

if (rating player >= 100 AND rankid player == 4) then {
	Player setRank "Major";
	hint format ["Sie wurden soeben zum %1 befördert",rank Player];
};

if (rating player >= 75 AND rankid player == 3) then {
	Player setRank "Captain";
	hint format ["Sie wurden soeben zum %1 befördert",rank Player];
};

if (rating player >= 50 AND rankid player == 2) then {
	Player setRank "Lieutenant";
	hint format ["Sie wurden soeben zum %1 befördert",rank Player];
};

if (rating player >= 20 AND rankid player == 1) then {
	Player setRank "Sergeant";
	hint format ["Sie wurden soeben zum %1 befördert",rank Player];
};

if (rating player >= 7 AND rankid player == 0) then {
	Player setRank "Corporal";
	hint format ["Sie wurden soeben zum %1 befördert",rank Player];
};

sleep 60;
};

if i kill 7 enemys i got the rank of Sergeant.. ??

Share this post


Link to post
Share on other sites

Afaik, "rating" is not the same as "score".

try replacing the rating command with the score command.

Share this post


Link to post
Share on other sites
Nevermind. Deleturs!

Whats your problem ? ?

ThX i try to test it with the score command.

edit:

WORKS ! Thanks !

Edited by R34P3R

Share this post


Link to post
Share on other sites

My problem is nothing at all. I just wrote a post that I realized was irrelevant and didn't contribute to the thread. Glad that you got it working though!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×