[SQLite] Factions wont change name
#4

pawn Код:
case EDITFACTION_FACID:
        {
            new string[256];
            if(!response)
            {
                SendClientMessage(playerid, -1, "Your no longer going to edit a faction.");
                return 1;
            }
            else {
                if(strval(inputtext) < 0 || strval(inputtext) > 9) return SendClientMessage(playerid, -1, "SERVER: Invalid Faction ID.");
                format(string, sizeof(string), "Your entering faction ID: %s", inputtext);
                SendClientMessage(playerid, -1, string);
                PlayerInfo[playerid][EditFaction] = strval(inputtext);
                ShowPlayerDialog(playerid, EDITFACTION_OPTIONS, DIALOG_STYLE_LIST, "Select a Option", "Name", "Select", "Quit");
            }
        }
This is the code, Why when I select faction id 4 it edits faction id 3?
Reply


Messages In This Thread
[SQLite] Factions wont change name - by JordanDoughty - 28.08.2014, 14:14
Re: [SQLite] Factions wont change name - by JordanDoughty - 28.08.2014, 19:08
Re : [SQLite] Factions wont change name - by MisterMania67 - 28.08.2014, 20:06
Re: [SQLite] Factions wont change name - by JordanDoughty - 28.08.2014, 20:15
Re: [SQLite] Factions wont change name - by MattTucker - 28.08.2014, 21:52

Forum Jump:


Users browsing this thread: 1 Guest(s)