05.03.2015, 14:02
Well, i ******d it, i found the enum & the decleration xD
Write it like this:
Greekz
Write it like this:
Код:
stock GetPlayer3DZone(playerid) { new zone[32] = "San Andreas"; new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); 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] && z >= gSAZones[i][SAZONE_AREA][2] && z <= gSAZones[i][SAZONE_AREA][5]) { strmid(zone, gSAZones[i][SAZONE_NAME], 0, 28); return zone; } } return zone; }