Not sure what the issue is..
#1

Not sure why I'm getting these errors..


Код:
C:\Users\Odysseus\Documents\SAMP\Akthar Deathmatch\gamemodes\atd.pwn(460) : error 001: expected token: "]", but found "-identifier-"
C:\Users\Odysseus\Documents\SAMP\Akthar Deathmatch\gamemodes\atd.pwn(460) : warning 215: expression has no effect
C:\Users\Odysseus\Documents\SAMP\Akthar Deathmatch\gamemodes\atd.pwn(460) : error 001: expected token: ";", but found "]"
C:\Users\Odysseus\Documents\SAMP\Akthar Deathmatch\gamemodes\atd.pwn(460) : error 029: invalid expression, assumed zero
C:\Users\Odysseus\Documents\SAMP\Akthar Deathmatch\gamemodes\atd.pwn(460) : fatal error 107: too many error messages on one line

Script:


pawn Код:
if(dialogid == DIALOG_TNAME)
    {
        if(response)
        {
            new TID, String[128];
            TID = pInfo[playerid][tEdit];
            format(tData[playerid][Name], sizeof(tData[playerid][Name]), inputtext );
            format(String, sizeof(String), "You have created the name %s (%d)",tData[TID][Name]);
            SendClientMessage(playerid, COLOR_GREY, String);
            ShowPlayerDialog(playerid, DIALOG_TCOLOR, DIALOG_STYLE_INPUT,"Create Team - Team Color", "Type the desired team color using Hex Code:", "Create","Cancel");
        }
        else
        {
            pInfo[playerid][tEdit] = 0;
            SendClientMessage(playerid, COLOR_GREY,"Team Name Modifier canceled.");
        }
        return 0;
    }
Reply


Messages In This Thread
Not sure what the issue is.. - by Shockey HD - 24.11.2013, 15:48
Re: Not sure what the issue is.. - by Konstantinos - 24.11.2013, 16:07
Re: Not sure what the issue is.. - by Shockey HD - 24.11.2013, 16:09

Forum Jump:


Users browsing this thread: 1 Guest(s)