[HELP]Errors
#1

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:
Код:
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.
ERROR line:
Код:
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;
}
Pls help....
Reply
#2

You'll need playerpos rather than is pos in range of a pos.
Reply
#3

how to do this?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)