#Defines not working for me
#6

Quote:
Originally Posted by Kush
View Post
I mean, define what you mean by "#defines not working"
Here is a example:
pawn Code:
if(GetPlayersInZone(i, ZoneAttacker[i]) >= 1) // there must be at least 1 attacker left
            {
                ZoneAttackTime[i]++;
                if(ZoneAttackTime[i] == TAKEOVER_TIME) // zone has been under attack for enough time and attackers take over the zone
                {
pawn Code:
#define TAKEOVER_TIME 120 // how many seconds needed to take over the zone
#define MIN_DEATHS_TO_START_WAR 3 // how many team members must be killed in a zone to start a war

C
Code:
:\DOCUME~1\SOUADU~1.000\Bureau\MYSERV~1\GAMEMO~1\ms.pwn(100) : warning 217: loose indentation
C:\DOCUME~1\SOUADU~1.000\Bureau\MYSERV~1\GAMEMO~1\ms.pwn(612) : warning 235: public function lacks forward declaration (symbol "ZoneTimer")
C:\DOCUME~1\SOUADU~1.000\Bureau\MYSERV~1\GAMEMO~1\ms.pwn(618) : error 017: undefined symbol "GetPlayersInZone"
C:\DOCUME~1\SOUADU~1.000\Bureau\MYSERV~1\GAMEMO~1\ms.pwn(621) : error 017: undefined symbol "TAKEOVER_TIME"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
#Defines not working for me - by Issam - 19.09.2011, 21:31
Re: #Defines not working for me - by Kush - 19.09.2011, 21:36
Re: #Defines not working for me - by Issam - 19.09.2011, 21:37
Re: #Defines not working for me - by Issam - 19.09.2011, 21:41
Re: #Defines not working for me - by Kush - 19.09.2011, 21:42
Re: #Defines not working for me - by Issam - 19.09.2011, 21:46
Re: #Defines not working for me - by Shetch - 19.09.2011, 21:52
Re: #Defines not working for me - by Issam - 19.09.2011, 21:55
Re: #Defines not working for me - by Vince - 19.09.2011, 21:57
Re: #Defines not working for me - by Issam - 19.09.2011, 22:02
Re: #Defines not working for me - by Issam - 19.09.2011, 22:17
Re: #Defines not working for me - by Memoryz - 19.09.2011, 22:46
Re: #Defines not working for me - by Issam - 19.09.2011, 22:48

Forum Jump:


Users browsing this thread: 4 Guest(s)