warning
#1

C:\Users\Mohamad\Desktop\SRP.pwn(48745) : warning 219: local variable "string" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.


pawn Код:
if(Phunted[playerid] != 0 && hunted == playerid)
    {
        new string[128];
        format(string, sizeof(string), "Please forgive %s for killing the hunted %s.", GetPlayerNameEx(killerid),killerid,GetPlayerNameEx(playerid),playerid);
        SendClientMessageToAllEx(COLOR_LIGHTBLUE, string);
        GivePrize(killerid, huntedpricetype);
        Phunted[playerid] = 0;
        hunted = INVALID_PLAYER_ID;
    }
Reply


Messages In This Thread
warning - by aboa - 14.02.2014, 05:59
Re: warning - by itsCody - 14.02.2014, 06:10
Re: warning - by aboa - 14.02.2014, 06:12
Re: warning - by Ceez - 14.02.2014, 10:41
Re: warning - by TheFlyer - 14.02.2014, 10:44
Re: warning - by Konstantinos - 14.02.2014, 10:49

Forum Jump:


Users browsing this thread: 2 Guest(s)