Warning Fix
#1

How to fix this warn??
Code:
./FGRP.pwn(3978) : warning 203: symbol is never used: "z"
Warn from this:
Code:
stock Get2DZoneFromCoordinates(Float:x, Float:y, Float:z, zone[], len = sizeof(zone))
{
    for(new i = 0; i != sizeof(gSAZones); i++ )
    {
        if(x >= gSAZones[i][SAZONE_AREA][0] && x <= gSAZones[i][SAZONE_AREA][3] && y >= gSAZones[i][SAZONE_AREA][1] && y <= gSAZones[i][SAZONE_AREA][4])
        {
            return format(zone, len, gSAZones[i][SAZONE_NAME], 0);
        }
    }
    return 0;
}
https://sampforum.blast.hk/showthread.php?tid=567255
Reply


Messages In This Thread
Warning Fix - by Trevor Gin - 12.03.2015, 15:11
Re: Warning Fix - by Clarck - 12.03.2015, 15:14
Re: Warning Fix - by oliverrud - 12.03.2015, 18:20

Forum Jump:


Users browsing this thread: 1 Guest(s)