Help with X,Y,Z maybe even streamer
#1

So I got this problem with my script for some reason whether I move a thing x,y (havne't tested z) it goes to a side but also goes downwards.

What I do is following:
pawn Код:
MoveDynamicObject(Info[GetPVarInt(playerid,"Selected")][Object],Info[GetPVarInt(playerid,"Selected")][PosX]+value,0,0,0.5);
I set the value to like either 1 or 2 and it just starts going under the interior I have.
Reply
#2

This function gets the X and Y in side of player correctly: http://pastebin.com/YjBapCMf

If the area that you is working dont's 0, change it for the right Z coord on MoveObject.
Reply
#3

Yea it was that they I had 0 at moveobject lol didn't even realize, stupid fail cause its rather obvious.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)