SA-MP Forums Archive
Problem - 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)
+--- Thread: Problem (/showthread.php?tid=493583)



Problem - DarkLored - 09.02.2014

So i have followed a tutorial on making capture zones but i have one problem on a line and i dont know whats the actual problem can you help me fix it?

here is my code and the errors are on this line
pawn Код:
Zone[Zone] = GangZoneCreate(93.423, 1331.278, 315.3026, 1471.412);
here is my error
Код:
TDMv1.0.pwn(374) : error 029: invalid expression, assumed zero
TDMv1.0.pwn(374) : error 029: invalid expression, assumed zero
TDMv1.0.pwn(374) : warning 215: expression has no effect
TDMv1.0.pwn(374) : error 001: expected token: ";", but found "]"
TDMv1.0.pwn(374) : fatal error 107: too many error messages on one line



Re: Problem - Crypto20 - 09.02.2014

Can I see the rest of that part of code?


Re: Problem - DarkLored - 09.02.2014

the tutorial i was following was this https://sampforum.blast.hk/showthread.php?tid=370571
my GM is kinda messy so i cant really find it quick so i just gave the tutorial that i followed


Re: Problem - Phil_Cutcliffe - 09.02.2014

Quote:
Originally Posted by DarkLored
Посмотреть сообщение
the tutorial i was following was this https://sampforum.blast.hk/showthread.php?tid=370571
my GM is kinda messy so i cant really find it quick so i just gave the tutorial that i followed
Do CTRL + F and enter what's on that line. Send me the code around that line please.


Re: Problem - DarkLored - 09.02.2014

Here is the code that the problem is based on
pawn Код:
Zone[Zone] = GangZoneCreate(93.423, 1331.278, 315.3026, 1471.412);



Re: Problem - DarkLored - 09.02.2014

Guys any help?