Setting Rank Name via CMD
#2

pawn Код:
if(PlayerInfo[playerid][pMember] == PlayerInfo[pID][pMember])
That basically checks if playerid's and id's pMember's are the same. If they aren't, it won't get called. Is that what you want to do? I see no logic in doing that, and you haven't explained us the system, so I can't really tell what's the problem.

In order to find out which line is causing the problem, debug. Add "print" lines after
pawn Код:
if(PlayerInfo[playerid][pRank] == 7)
and after
pawn Код:
if(PlayerInfo[playerid][pMember] == PlayerInfo[pID][pMember])
to see which one is causing the issue.
Reply


Messages In This Thread
Setting Rank Name via CMD - by Abreezy - 10.01.2012, 19:22
Re: Setting Rank Name via CMD - by Mean - 10.01.2012, 19:49
Re: Setting Rank Name via CMD - by Abreezy - 10.01.2012, 20:17

Forum Jump:


Users browsing this thread: 1 Guest(s)