SA-MP Forums Archive
Ranks and admin help - 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 and admin help (/showthread.php?tid=407754)



Ranks and admin help - Noles2197 - 15.01.2013

http://forum.sa-mp.com/showthread.ph...ighlight=y_ini

I want to be able to add ranks for factions and admin from this tutorial. Can someone tell me how to do this?


Re: Ranks and admin help - park4bmx - 15.01.2013

you need to show us some code in order to help you!
else wrong place to post !


Re: Ranks and admin help - Mr.Anonymous - 15.01.2013

I think you can do something like this maybe:
pawn Код:
enum pInfo
{
    pCop,
    pFarmer,
    etc...
}
then use...
pawn Код:
if (PlayerInfo[playerid][pCop] == 1)
{
    // Do cop stuff here.
}



Re: Ranks and admin help - Noles2197 - 15.01.2013

//

Nevermind