SA-MP Forums Archive
[HELP]need 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]need help please (/showthread.php?tid=393179)



[HELP]need help please - ashwinsekhari - 17.11.2012

hi everone im using
this command but there is a problem
pawn Код:
{if(strcmp(cmdtext,"/og1",true)==0)//gatesopen1
{
MoveObject(gate1 ,100.82, 1733.16, 13.78, 83.95);
return 1;
}
whenever i use this the gates are moving but im in a problem the gates are moving so fast and in a twisted manner
i.e. it rotates as moving
why is it so

this is the cords for closed gate
pawn Код:
CreateObject(980, 100.82, 1733.16, 19.29,   0.00, 0.00, 83.95);
and this is for opened
pawn Код:
CreateObject(980, 100.82, 1733.16, 13.78,   0.00, 0.00, 83.95);
please help me

i will give you rep + for helping me


Re: [HELP]need help please - Ballu Miaa - 17.11.2012

When will you guys fucking get it?

WE DO NOT HELP PEOPLE HERE FOR REP!


Re: [HELP]need help please - ashwinsekhari - 17.11.2012

Ok but please help me


Re: [HELP]need help please - Ballu Miaa - 17.11.2012

Fuck that what you have coded so far. Create the gate where you want it to. Like the gate is closed!

Paste the code of it here. I will provide you a working code for it. That it will close/open fine!


Re: [HELP]need help please - Horrible - 17.11.2012

Read wiki and it will fix all your problem
https://sampwiki.blast.hk/wiki/MoveObject


Re: [HELP]need help please - ashwinsekhari - 17.11.2012

this is the cords for orignal gate position

pawn Code:
CreateObject(980, 100.82, 1733.16, 19.29, 0.00, 0.00, 83.95);

and this is for opened
pawn Code:
CreateObject(980, 100.82, 1733.16, 13.78, 0.00, 0.00, 83.95);

now please make a cmd for me