02.12.2010, 17:34
Hi.Today i go to do house system like Ravens house system.Here is code what i get:
EVo danas sam radio house sistem slican ravensu i dobio sam ove errore:
ERROR line:
Pls help....
EVo danas sam radio house sistem slican ravensu i dobio sam ove errore:
Код:
C:\Documents and Settings\Dolenac\Desktop\Weber Role Play DM Zadnji Mod1\gamemodes\gtar.pwn(930) : error 017: undefined symbol "SANZONE_AREA" C:\Documents and Settings\Dolenac\Desktop\Weber Role Play DM Zadnji Mod1\gamemodes\gtar.pwn(930) : error 029: invalid expression, assumed zero C:\Documents and Settings\Dolenac\Desktop\Weber Role Play DM Zadnji Mod1\gamemodes\gtar.pwn(930) : warning 215: expression has no effect C:\Documents and Settings\Dolenac\Desktop\Weber Role Play DM Zadnji Mod1\gamemodes\gtar.pwn(930) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Dolenac\Desktop\Weber Role Play DM Zadnji Mod1\gamemodes\gtar.pwn(930) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
stock GetPlayer3DZone(playerid, zone[], len) { new Float:x33, Float:y33, Float:z33; GetPlayerPos(playerid, x33, y33, z33); for(new i = 0; i != sizeof(gSAZones); i++ ) { Error is here----->if(x33 >= gSAZones[i][SANZONE_AREA][0] && x33 <= gSAZones[i][SANZONE_AREA][3] && y33 >= gSANZones[i][SAZONE_AREA][1] && y33 <= gSANZones[i][SAZONE_AREA][4] && z33 >= gSAZones[i][SANZONE_AREA][2] && z33 <= gSANZones[i][SAZONE_AREA][5]) { return format(zone, len, gSAZones[i][SAZONE_NAME], 0); } } return 0; }