SA-MP Forums Archive
[Ajuda] Warnings - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Warnings (/showthread.php?tid=410437)



Warnings - bombomloko - 25.01.2013

warning: 206: redundant test: constant expression is non-zero
warning: 202: number of arguments does not match definition
warning: 202: number of arguments does not match definition
warning: 202: number of arguments does not match definition
warning: 202: number of arguments does not match definition
warning: 202: number of arguments does not match definition
warning: 202: number of arguments does not match definition
warning: 202: number of arguments does not match definition
warning: 202: number of arguments does not match definition
warning: 202: number of arguments does not match definition
warning: 202: number of arguments does not match definition
warning: 202: number of arguments does not match definition
warning: 202: number of arguments does not match definition

linhas:
pawn Код:
stock IsPlayerInRepresa(playerid)
{
    new Float:x,Float:y,Float:z;
    GetPlayerPos(playerid, x, y, z);
    if(x >= -910,8743 && y >= 1763,359 && x <=  -490,4708 && y <= 2148,729) return true; // essa linha
    else return 0;
}

GZRepresa = GangZoneCreate(-910,8743, 1763,359, -490,4708, 2148,729); // essa linha

if(PlayerToPoint(9.5,playerid,-910,8743, 1763,359, -490,4708)) // essa linha
qq eu faзo?


Re: Warnings - ViniBorn - 25.01.2013

Com nъmeros decimais, use . no lugar de ,