[HELP]need help please
#1

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

When will you guys fucking get it?

WE DO NOT HELP PEOPLE HERE FOR REP!
Reply
#3

Ok but please help me
Reply
#4

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

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)