SA-MP Forums Archive
ehhh - 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: ehhh (/showthread.php?tid=79716)



ehhh - Futurezx - 30.05.2009

I'm new at scripting and i compile and get this error:

(183) : warning 202: number of arguments does not match definition
(190) : error 017: undefined symbol "heli"
(190) : warning 215: expression has no effect
(190) : error 001: expected token: ";", but found "-rational value-"
(190) : warning 215: expression has no effect
(190) : error 001: expected token: ";", but found ")"
(190) : fatal error 107: too many error messages on one line

Please help me!



Re: ehhh - Andom - 30.05.2009

Lines!?!


Re: ehhh - Mujib - 30.05.2009

It would be helpful if you posted the script!


Re: ehhh - Puzi - 30.05.2009

Let us see your 190 line


Re: ehhh - Futurezx - 30.05.2009

Line 190: MoveObject(heli,382.001038 2500.741211 52.551369);
Line 183: SetPlayerPos(playerid,359.2373,2521.7744,16.6306,3 19.952);


Re: ehhh - Andom - 30.05.2009

Quote:
Originally Posted by Futurezx
Line 190: MoveObject(heli,382.001038 2500.741211 52.551369);
Line 183: SetPlayerPos(playerid,359.2373,2521.7744,16.6306,3 19.952);
MoveObject: You didn't used any comma (,), and where did you defined "heli"?
SetPlayerPos: SetPlayerPos has 3 coordinates, not 4.



Re: ehhh - Futurezx - 30.05.2009

How can i get the rite coordinates then for teleport?


Re: ehhh - Gamer007 - 30.05.2009

in SetPlayerPos there is a 319.952 it's the last, it means facing angle you don't need to put it there put it in other command:

SetPlayerFacingAngle(playerid,319.952);


Re: ehhh - Futurezx - 30.05.2009

So i can use this?? SetPlayerPos(playerid,359.2373,2521.7744,16.6306);


Re: ehhh - Gamer007 - 30.05.2009

Yes