#1

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!
Reply
#2

Lines!?!
Reply
#3

It would be helpful if you posted the script!
Reply
#4

Let us see your 190 line
Reply
#5

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

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.
Reply
#7

How can i get the rite coordinates then for teleport?
Reply
#8

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);
Reply
#9

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

Yes
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)