21.08.2012, 12:19
Код:
C:\Users\Hellman.Hellmans-PC\Desktop\snusk\gamemodes\P-RP.pwn(5015) : warning 213: tag mismatch C:\Users\Hellman.Hellmans-PC\Desktop\snusk\gamemodes\P-RP.pwn(5025) : warning 213: tag mismatch C:\Users\Hellman.Hellmans-PC\Desktop\snusk\gamemodes\P-RP.pwn(5025) : warning 213: tag mismatch C:\Users\Hellman.Hellmans-PC\Desktop\snusk\gamemodes\P-RP.pwn(5025) : warning 213: tag mismatch C:\Users\Hellman.Hellmans-PC\Desktop\snusk\gamemodes\P-RP.pwn(5025) : warning 213: tag mismatch C:\Users\Hellman.Hellmans-PC\Desktop\snusk\gamemodes\P-RP.pwn(5025) : warning 213: tag mismatch C:\Users\Hellman.Hellmans-PC\Desktop\snusk\gamemodes\P-RP.pwn(5025) : warning 213: tag mismatch
pawn Код:
}
stock GetPlayerArea(playerid)
{
new str[130];
line 5015 format(str,sizeof(str),"%s",gSANZones[GetPlayerZone(playerid)][zone_name]);
return str;
}
stock GetPlayerZone(playerid)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
for(new i=0;i<sizeof(gSANZones);i++)
{
line 5025 if(x > gSANZones[i][zone_minx] && y > gSANZones[i][zone_miny] && z > gSANZones[i][zone_minz] && x < gSANZones[i][zone_maxx] && y < gSANZones[i][zone_maxy] && z < gSANZones[i][zone_maxz])
return i;
}
return false;
}