need a few script lines to fix a little bug
#1

i am the governor on a server [rank 6 in faction id 6] , i used to /facpay /listfacpay normally .
But then i got hired as an admin on that server and then i cannot use those cmds anymore.
if i got this right , i need higher admin level to use the cmd BUT i am governor ...
So can someone make a script that is like this ::
If PlayerID factionid6 Rank6 types /facpay or /listfacpay
Then playerID admin level get ignored .

please i really need this :P
Reply
#2

PlayerInfo[playerid][pMember]; // Faction ID of the player
PlayerInfo[playerid][pRank]; //Player's rank in that particular faction
Код:
if(!strcmp(cmdtext, "/listfacpay" , true))
{
	if(IsPlayerConnected(playerid))
	{
	    if((PlayerInfo[playerid][pRank] == 6 && PlayerInfo[playerid][pMember] == 6) || PlayerInfo[playerid][pAdmin] > 0)
	    {
	        ..... (your script)
Код:
if(!strcmp(cmdtext, "/facpay" , true))
{
	if(IsPlayerConnected(playerid))
	{
	    if((PlayerInfo[playerid][pRank] == 6 && PlayerInfo[playerid][pMember] == 6) || PlayerInfo[playerid][pAdmin] > 0)
	    {
	        ..... (your script)
Reply
#3

thx , gonna try that
Reply
#4

how about you be admin on 1 account and be gov on other?
Reply
#5

hmm / well each time i want to use admin i switch accounts :O , easier that you add it damian
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)