[Ayuda] OnObjectMoved ...
#1

Buenas a Todos, estoy haciendo un acensor utilizando el call OnObjectMoved para chekear si el objeto fue movido y al objeto ke detecte chekeada la posicion con GetObjectPos y un if y segun la posicion le dara un time para ke se mueva otros objetos ke serian las puertas , pero no se ke pasa ke no me da la funcion del timer y no se mueven nunca los objetos de las puertas. :S

Ejemplo de como coloke:

pawn Код:
public OnObjectMoved(objectid)
{
    if(objectid == idobjeto)
    {
        new Float:x,Float:y,Float:z;
        GetObjectPos(idobjeto, x,y,z);
            if(x == -2088.70 && y == -757.83 && z == 34.84) SetTimer("AbrirPuerta1", 2000, true);
            else if(x == -2088.70 && y == -757.83 && z == 34.84) SetTimer("AbrirPuerta2", 2000, true);
            //ETC.....
    }
    return 1;
}
Si e pueden ayudar Se lo agradecede mucho .

Desde Ya muchas gracias.
Reply


Messages In This Thread
[Ayuda] OnObjectMoved ... - by OTACON - 28.05.2012, 08:26
Respuesta: [Ayuda] OnObjectMoved ... - by [J]ulian - 28.05.2012, 13:15
Respuesta: [Ayuda] OnObjectMoved ... - by OTACON - 28.05.2012, 13:57
Respuesta: [Ayuda] OnObjectMoved ... - by [J]ulian - 28.05.2012, 14:05
Respuesta: [Ayuda] OnObjectMoved ... - by OTACON - 28.05.2012, 16:17
Respuesta: [Ayuda] OnObjectMoved ... - by TheChaoz - 28.05.2012, 21:08
Respuesta: [Ayuda] OnObjectMoved ... - by OTACON - 29.05.2012, 00:52
Respuesta: [Ayuda] OnObjectMoved ... - by TheChaoz - 29.05.2012, 02:37
Respuesta: [Ayuda] OnObjectMoved ... - by OTACON - 29.05.2012, 23:35
Respuesta: [Ayuda] OnObjectMoved ... - by TheChaoz - 30.05.2012, 02:14
Respuesta: [Ayuda] OnObjectMoved ... - by bytytus - 30.05.2012, 04:32
Respuesta: [Ayuda] OnObjectMoved ... - by the_chaoz - 30.05.2012, 18:50
Respuesta: [Ayuda] OnObjectMoved ... - by bytytus - 30.05.2012, 22:06
Respuesta: [Ayuda] OnObjectMoved ... - by the_chaoz - 30.05.2012, 22:51

Forum Jump:


Users browsing this thread: 1 Guest(s)