help with Compile
#1

Ok i have this

at the top
pawn Код:
new GROVE;
But then i get this error
pawn Код:
D:\gangwars Server\filterscripts\zones_gang.pwn(69) : error 017: undefined symbol "GROVE"
D:\gangwars Server\filterscripts\zones_gang.pwn(96) : error 017: undefined symbol "GROVE"
here is Line 69 & 96
pawn Код:
Line: 69   GROVE = GangZoneCreate(2200.996, -1804.242, 2623.11, -1579.221);
line: 96   GangZoneShowForPlayer(playerid, GROVE, 0x00FF0096);
I dont know whats wrong Can someone help Me

Thanks,
John
Reply
#2

Try:

In top of your script:
pawn Код:
new Grove;
In OnGameModeInit:
pawn Код:
Grove = GangZoneCreate(2200.996, -1804.242, 2623.11, -1579.221);
And, in OnPlayerSpawn:
pawn Код:
GangZoneShowForPlayer(playerid, GROVE, 0x00FF0096);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)