SA-MP Forums Archive
help error - 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 error (/showthread.php?tid=77240)



help error - luckie12 - 09.05.2009

hi i get this error:
pawn Код:
C:\Documents and Settings\Luc\Bureaublad\Pawno\gamemodes\SDR.PWN(1319) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.
it says line 1319 this is line 1319
pawn Код:
MoveObject(gate1, 1385.557617, -2688.828857, 5); //5 is the speed of opening and the coords when the gate is opened
what is it?
can anyone help me ty alot


Re: help error - yom - 09.05.2009

It's a warning, and objects are placed in a 3d space so you need a z coordinate.


Re: help error - luckie12 - 09.05.2009

Quote:
Originally Posted by 0rb
It's a warning, and objects are placed in a 3d space so you need a z coordinate.
like this?

pawn Код:
MoveObject(gate1, 1385.557617, -2688.828857,272.734619, 5);
like that?


Re: help error - Gamer007 - 09.05.2009

yes like that.


Re: help error - luckie12 - 09.05.2009

Quote:
Originally Posted by Gamer007
yes like that.
ok ty i gonna try it