error 047: array sizes do not match, or destination array is too small
#1

I've searched this error but found no promising information. Anywho, whenever I attempt to set a group name based upon the text a player inputed into a dialog, I get the error thats in the title

pawn Код:
case 9003:
           {
               Groups[Player[playerid][GroupCarryID]][GroupName] = inputtext; // This line
               
               new string[255];
               format(string, sizeof string, "Name: %s\nType: %d\nEdit Skins\nEdit Ranks\nEdit Divisions\nEdit Paycheques", Groups[1][GroupName], Groups[1][CommandTypes]);
               ShowPlayerDialog(playerid, 9002, DIALOG_STYLE_LIST, "Edit Group | Group 1", string, "Proceed", "Cancel");
               Player[playerid][GroupCarryID] = 1;
           }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)