error 075: input line too long (after substitutions)
#4

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
pawn Код:
if(dialogid == 17)
{
    if(!response) TogglePlayerControllable(playerid,1);
    else
    {
        if(!strlen(inputtext)) return ShowPlayerDialog(playerid,17,DIALOG_STYLE_INPUT,"Select your Skin ID","Type the ID of the skin you wish to use: ","Select","Cancel");
        new skinid = strval(inputtext);
        switch (skinid)
        {
            case 1 .. 101, 108 .. 113, 119, 124 .. 162, 167 .. 172, 176 .. 273, 284, 289 .. 299:
            {
                SetPlayerSkin(playerid, skinid);
                PlayerInfo[playerid][pSkin] = skinid;
                SendClientMessage(playerid, COLOR_ORANGE, "Your Skin has been changed!");
                TogglePlayerControllable(playerid,1);
                GivePlayerCash(playerid, -350);
            }
            default:
            {
                SendClientMessage(playerid, COLOR_RED, "Invalid OR Faction Skin!");
                ShowPlayerDialog(playerid,17,DIALOG_STYLE_INPUT,"Select your Skin ID","Type the ID of the skin you wish to use: ","Select","Cancel");
            }
        }
    }
    return 1;
}
I don't think you read what my code was doing exactly... I just simply want to carry the code onto 3 lines. Also the skin id's I've defined are NOT to be used as they are faction/gang skins.
Reply


Messages In This Thread
error 075: input line too long (after substitutions) - by Phil_Cutcliffe - 01.02.2014, 21:49
Re: error 075: input line too long (after substitutions) - by MP2 - 01.02.2014, 21:53
Re: error 075: input line too long (after substitutions) - by Konstantinos - 01.02.2014, 22:04
Re: error 075: input line too long (after substitutions) - by Phil_Cutcliffe - 01.02.2014, 22:07
Re: error 075: input line too long (after substitutions) - by Konstantinos - 01.02.2014, 22:12

Forum Jump:


Users browsing this thread: 1 Guest(s)