SA-MP Forums Archive
i need help for that warnings - 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: i need help for that warnings (/showthread.php?tid=611328)



i need help for that warnings - vikoo - 05.07.2016

Hello, i have 6 warnings when i compile my pwn help pls


Re: i need help for that warnings - KevinKush - 05.07.2016

You have too many arguments in MoveObject
you need only: Object name, posx, posy, posz and speed
Example:
MoveObject(Door, 105.6669, -2001.56944, 12.55469, 4)
to add more arguments for rx, ry, rz you need the function MoveDynamicObject
so you have two solutions:
-Change MoveObject to MoveDynamicObject
-reduce the number of arguments in MoveObject.


Re: i need help for that warnings - vikoo - 05.07.2016

thx KevinKush this way
Quote:

MoveObject(Door, 105.6669, -2001.56944, 12.55469, 4)

helped me thanks alot


Re: i need help for that warnings - KevinKush - 05.07.2016

you're welcome


Re: i need help for that warnings - vikoo - 05.07.2016

kevin u have ********?