Barrier Moving problem
#1

i got this

pawn Код:
barrierdown = CreateObject(968,1810.89941406,-1882.89941406,13.60000038,0.00000000,90.00000000,269.99450684); //object(barrierturn) (1)
pawn Код:
CMD:rentcar(playerid, params[])
{
    MoveObject(barrierdown, 1810.89941406, -1882.89941406, 13.60000038, 2.0);
    return 1;
}
When i /rentcar IG, the barrier won't move, (U can see i put only X Y Z Coordinates + speed ) And when i put the whole coordinate
968,1810.89941406,-1882.89941406,13.60000038,0.00000000,0.00000000,26 9.99996948

It moves somewhere , and looks invisible, ,
Reply
#2

From what I saw on your pawn code, your mistake is you identified Barrierdown in this script:
pawn Код:
barrierdown = CreateObject(968,1810.89941406,-1882.89941406,13.60000038,0.00000000,90.00000000,269.99450684); //object(barrierturn) (1)
Now, I looked at the cords, the find that they match exactly int his pawn code:
pawn Код:
CMD:rentcar(playerid, params[])
{
    MoveObject(barrierdown, 1810.89941406, -1882.89941406, 13.60000038, 2.0);
    return 1;
}
Meaning it is not actually moving, but is practically despawning, where you have MoveObect(barrierdown, 1810.89941406, -1882.899414406, 13.60000038, 2.0) You should replace the cords with where you want them to be, rather than where they currently are.

Hope I helped.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)