SA-MP Forums Archive
ranks 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)
+--- Thread: ranks system (/showthread.php?tid=587853)



ranks system - mongi - 03.09.2015

guys i need ranks system for role player script

example:
SAPD leader can use /setrank to set his member rank and all the ranks saved in a file in scriptfiles


Re: ranks system - PSYCHOBABYKILLA - 03.09.2015

this is scripting help

NOT SCRIPT SHIT 4 U

search filterscripts keyword rank


Re : ranks system - KillerDVX - 03.09.2015

I'll give you a little clue.

You should create some variables of your Rank, i'll give you an exemple : IsSoldat[MAX_PLAYERS], IsLeaderSoldat[MAX_PLAYERS].

So, i did defined the variables of the rank "Soldat" and "Leader Soldat".

When the variable's 1 it's working, when it 0 it stops here.

And now, you should create a command of the Leaders where they can set a variable of 1 to the mentioned player.

KillerDVX,



Re: ranks system - Vince - 03.09.2015

That is super wasteful considering you can use 1 for member and 2 for leader. Or any of the other 2 billion numbers.