SA-MP Forums Archive
Hi... GunGame with Rank ?? How - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Hi... GunGame with Rank ?? How (/showthread.php?tid=74068)



Hi... GunGame with Rank ?? How - Bearfist - 19.04.2009

Hi...
And yes it handles with my gamemode again xD
... My GunGame works like ...
if (KillScore == 1){
ResetPlayerweapons(playerid);
GiveplayerWeapon(playerid,22,500);
SendClientMessage(playerid,COLOR_YELLOW,"You are on Level 1 = Dual Pistols");
}

and etc. But now i want to make it with
new rank[MAX_PLAYERS]
like this

if (KillScore==1){
rank = 1;
etc.

--> It's because i want to add deathscore, like

rank -=1
....

I know that i have to add: rank +=1 --->next weapon (for example from dual pistols (22) to quiet pistol (xD) and also reverse
but i don't know how


need help me xD

MFG Bearfist





Re: Hi... GunGame with Rank ?? How - Danut - 19.04.2009

not rank = 1;
rank[playerid] = 1;

Try


Re: Hi... GunGame with Rank ?? How - Bearfist - 19.04.2009

I don't know how you mean that

explain it pls .. i'm a noob i know xD