To Know the position of a object
#2

Well it seems that the example is some kind of elevator since just the z changes from 500 to 600. Here's a script for only checking the z.

pawn Код:
new Float:z;
GetObjectPos(Object1,z,z,z);

if(z == 500)
{
    //Down
}
else
{
    //Up
}
Reply


Messages In This Thread
To Know the position of a object - by ombre - 02.01.2011, 19:55
Re: To Know the position of a object - by Backwardsman97 - 02.01.2011, 20:27
Re : To Know the position of a object - by ombre - 02.01.2011, 21:29

Forum Jump:


Users browsing this thread: 1 Guest(s)