SA-MP Forums Archive
Need some help - 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: Need some help (/showthread.php?tid=84083)



Need some help - Futurezx - 28.06.2009

When i compile my script i am getting these warnings

Код:
(436) : warning 202: number of arguments does not match definition
(436) : warning 202: number of arguments does not match definition
(436) : warning 202: number of arguments does not match definition
(436) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

4 Warnings.
Код:
Line 436: kleurtje = GangZoneCreate(-2966,18, -2989,536, 2977,858, 2977,858);
Hope that somebody can help me


Re: Need some help - Grim_ - 28.06.2009

That's because you are putting whole numbers where there are suppose to be floats. After each number you have, add ".00".



Re: Need some help - Correlli - 28.06.2009

This is how it should be:
pawn Код:
kleurtje = GangZoneCreate(-2966.18, -2989.536, 2977.858, 2977.858);



Re: Need some help - Grim_ - 28.06.2009

Oh, whoops i thought that said Createobject..

Use Don's code.


Re: Need some help - Futurezx - 28.06.2009

Don's code?


Re: Need some help - Grim_ - 28.06.2009

Yes,
pawn Код:
kleurtje = GangZoneCreate(-2966.18, -2989.536, 2977.858, 2977.858);



Re: Need some help - Correlli - 28.06.2009

Quote:
Originally Posted by Futurezx
Don's code?
The code i gave you above.


Re: Need some help - Futurezx - 28.06.2009

Hahah didn't see your post


Re: Need some help - madmatty - 28.06.2009

Quote:
Originally Posted by Futurezx
Hahah didn't see your post
all he did was chand the 2977.858 to 2977,858 (.) (,)


Re: Need some help - Grim_ - 28.06.2009

And...? He gave him what he needed.