Warnings Overload, Help required.
#3

Код:
warning 219: local variable "G" shadows a variable at a preceding level
warning 219: local variable "A" shadows a variable at a preceding level

stock RGBA(R, G, B, A) return ( R * 16777216 ) + ( G * 65536 ) + ( B * 256 ) + A ;
Probably they are already defined!Try to rename them


Код:
C:\Users\Tayyab-PC\Desktop\Server\gamemodes\SG.pwn(3145) : warning 213: tag mismatch
C:\Users\Tayyab-PC\Desktop\Server\gamemodes\SG.pwn(3146) : warning 213: tag mismatch
C:\Users\Tayyab-PC\Desktop\Server\gamemodes\SG.pwn(3147) : warning 213: tag mismatch
C:\Users\Tayyab-PC\Desktop\Server\gamemodes\SG.pwn(3148) : warning 213: tag mismatch
C:\Users\Tayyab-PC\Desktop\Server\gamemodes\SG.pwn(3149) : warning 213: tag mismatch
C:\Users\Tayyab-PC\Desktop\Server\gamemodes\SG.pwn(3150) : warning 213: tag mismatch
C:\Users\Tayyab-PC\Desktop\Server\gamemodes\SG.pwn(3151) : warning 213: tag mismatch
C:\Users\Tayyab-PC\Desktop\Server\gamemodes\SG.pwn(3152) : warning 213: tag mismatch
C:\Users\Tayyab-PC\Desktop\Server\gamemodes\SG.pwn(3153) : warning 213: tag mismatch
C:\Users\Tayyab-PC\Desktop\Server\gamemodes\SG.pwn(3154) : warning 213: tag mismatch
Код:
new Text:SGWelcome[MAX_PLAYERS];

for(new playerid = 0; playerid  < MAX_PLAYERS; playerid ++) 
{

    SGWelcome[playerid] = TextDrawCreate(166.273895, 363.182495, "~y~S~w~tunters_~y~G~w~od");
    TextDrawLetterSize(SGWelcome[playerid], 1.405627, 5.123327);
    TextDrawAlignment(SGWelcome[playerid], 1);
    TextDrawColor(SGWelcome[playerid], -1);
    TextDrawSetShadow(SGWelcome[playerid], 0);
    TextDrawSetOutline(SGWelcome[playerid], 1);
    TextDrawBackgroundColor(SGWelcome[playerid], 255);
    TextDrawFont(SGWelcome[playerid], 1);
    TextDrawSetProportional(SGWelcome[playerid], 1);
    TextDrawSetShadow(SGWelcome[playerid], 0);

//close with }
Код:
if(!success)
    {
        new string2[90];
        if(strlen(cmdtext) > 12)
        {
            strmid(string2, cmdtext, 0, 12);
            strcat(string2, "...");
        }
        else strcat(string2, cmdtext);
        format(string2,sizeof(string2),"The command ~y~%s ~w~does not exist, To see all commands use ~y~/cmds", string2);
        PlayerTextDrawSetString(playerid,wrongcmd[playerid],string2);
        PlayerTextDrawShow(playerid,wrongcmd[playerid]);
        SetTimerEx("HideWrongTD", 8000, false, "i", playerid);
    }
Код:
warning 204: symbol is assigned a value that is never used: "RegisteredPlayers"

new pRegID[MAX_PLAYERS];

RegisteredPlayers = pRegID[playerid];
And the last one you made but its never used! Use it or simple delte it RegisteredPlayers = pRegID[playerid];
Reply


Messages In This Thread
Warnings Overload, Help required. - by SsHady - 22.12.2016, 09:29
Re: Warnings Overload, Help required. - by oMa37 - 22.12.2016, 09:49
Re: Warnings Overload, Help required. - by Bolex_ - 22.12.2016, 09:54
Re: Warnings Overload, Help required. - by Vince - 22.12.2016, 11:51

Forum Jump:


Users browsing this thread: 1 Guest(s)