A Rank System - 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: A Rank System (
/showthread.php?tid=134656)
A Rank System -
Toni - 17.03.2010
I was wondering how to make a Rank System.
It's for a war Server....
So i need to make one with weapon ranks, and vehicle ranks as well
It depends on player's kills so,
The more they kill, the more they unlock, any help ?
I've tried searching things, Just hasn't came up the same way i wanted to see.
Thanks Again, Tɧ϶ Tσηί™
Re: A Rank System -
jameskmonger - 04.06.2010
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
playerInfo[killerid][kills] += 1;
return 1;
}
WorkOutRank(playerid) {
if(playerInfo[killerid][kills] >= 0 && playerInfo[killerid][kills] =< 25) {
playerInfo[killerid][rank] == 1;
} else if(playerInfo[killerid][kills] >= 26 && playerInfo[killerid][kills] =< 50) {
playerInfo[killerid][rank] == 2;
}
}
Re: A Rank System -
ViruZZzZ_ChiLLL - 04.06.2010
Try Sandras rank system man
Re: A Rank System -
Toni - 04.06.2010
Quote:
Originally Posted by jameskmonger
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
playerInfo[killerid][kills] += 1;
return 1;
}
WorkOutRank(playerid) {
if(playerInfo[killerid][kills] >= 0 && playerInfo[killerid][kills] =< 25) {
playerInfo[killerid][rank] == 1;
} else if(playerInfo[killerid][kills] >= 26 && playerInfo[killerid][kills] =< 50) {
playerInfo[killerid][rank] == 2;
}
}
|
ok uhm...this was in march
Re: A Rank System -
jameskmonger - 05.06.2010
Oh, sorry xD
I was just using the search bar and it came up, guess I need to check the dates XD