ZCMD Help
#1

This code constantly returns 0, and I dont know why.

pawn Код:
if(CompareStrings(Option, "joinrank"))
    {
if(sscanf(params, "i", RankID))
        {
               if(PlayerInfo[playerid][pRank] >= 2)
               {
                    SendClientMessage(playerid, COLOR_RED, "You're not high enough to set joinrank.");
                    return 1;
                }
                    format(string, sizeof(string), "[FACTION] Join rank is now set too %d.", RankID);
                    SendFactionMessage(faction, COLOR_LIGHTRED, string);
                    DynamicFactions[faction][fJoinRank] = RankID;
                    return 1;
            }
        }
Reply


Messages In This Thread
ZCMD Help - by EliteApple - 04.03.2014, 21:04

Forum Jump:


Users browsing this thread: 3 Guest(s)