help with Compile - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help with Compile (
/showthread.php?tid=124920)
help with Compile -
John Rockie - 01.02.2010
Ok i have this
at the top
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
Re: help with Compile -
LuxurioN™ - 01.02.2010
Try:
In
top of your script:
In
OnGameModeInit:
pawn Код:
Grove = GangZoneCreate(2200.996, -1804.242, 2623.11, -1579.221);
And, in
OnPlayerSpawn:
pawn Код:
GangZoneShowForPlayer(playerid, GROVE, 0x00FF0096);