Whats wrong?
#1

Whats wrong?

Problem:

C:\Users\Vanhempien Kone\Videos\Desktop\Kaikki\WoS_SAMP\Servu\filtersc ripts\WarWorld.pwn(9 : error 017: undefined symbol "IsInWarZone"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


Line 98: if(IsInWarZone(playerid) == 0)

Question: Where I need to add and what?


Thanks for helping
Reply
#2

new IsInWarZone[MAX_PLAYERS];

at th top
Reply
#3

Quote:

Orginaly Posted by :Marricio:
new IsInWarZone[MAX_PLAYERS];

at th top

Exatly what i want to say!!
i wish if the problem is over now~~!
Reply
#4

FYI, If you get an undefined symbol, that means you haven't defined it yet.
To define it do new [commandhere(params)] at the top.
Reply
#5

Well maramizo....

#define WarZone(Whathere?)]

or anyone
Reply
#6

It depends on the command.
Since you're using if(IsInWarZone(playerid) == 0)
#define IsInWarZone[MAX_PLAYERS]
Reply
#7

Guys, please, I cant beliueved you've not noticed.
(playerid) should be [playerid].

if(IsInWarZone[playerid] == 0)
Reply
#8

admantis why so?
E:
LOL nevermind -.-
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)