SA-MP Forums Archive
Help Please !!! - 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: Help Please !!! (/showthread.php?tid=445038)



Help Please !!! - PrinceKumar - 19.06.2013

When i try to use :
pawn Код:
MoveDynamicObject(playerid, x, y, z, speed, rx, ry , rz);
then it gives me a error that argument doesn't match i don't know why , it was working but today at evening when i try to compiled my script then this error come, can anyone help me what need to do .


Re: Help Please !!! - Littlehelper - 19.06.2013

pawn Код:
MoveDynamicObject(objectid, Float:x, Float:y, Float:z, Float:speed);
This is the syntax.


Re: Help Please !!! - PrinceKumar - 19.06.2013

Quote:
Originally Posted by Littlehelper
Посмотреть сообщение
pawn Код:
MoveDynamicObject(objectid, Float:x, Float:y, Float:z, Float:speed);
This is the syntax.
Sorry its not playerid it is objectid ,
pawn Код:
MoveDynamicObject(SFBRIDGELeftGate,  -1149.09998, 1118.5, 40.3, 2.0, 0.00, 0.00, 315.999);
this is not working in pawno can you give me the ans. why ?


Re: Help Please !!! - IceBilizard - 19.06.2013

First of all did make you the object in game? and the opening/closing points are correct if not correct then you need to get correct points then it will work


Re: Help Please !!! - PrinceKumar - 19.06.2013

Quote:
Originally Posted by IceBilizard
Посмотреть сообщение
First of all did make you the object in game? and the opening/closing points are correct if not correct then you need to get correct points then it will work
yes i have already created them .


Re: Help Please !!! - MP2 - 19.06.2013

Quote:
Originally Posted by Littlehelper
Посмотреть сообщение
pawn Код:
MoveDynamicObject(objectid, Float:x, Float:y, Float:z, Float:speed);
This is the syntax.
It was about a year ago, yeah >.>

Heard of 0.3e?


Re: Help Please !!! - PrinceKumar - 19.06.2013

lol it was easy to fix only need to change MoveDynamicObject to MoveObject but it was also working with movedynamicobject but don't know why i was getting warnings