Need help fast!
#5

Quote:
Originally Posted by Lolrofl
Посмотреть сообщение
godamn it he beat me xD
LOL too slow xPPP

Now back on topic: You would move the 1st gate somewhere else in your script, then do this:
pawn Код:
public OnObjectMoved(playerid,objectid)
{
    if(objectid==gate1 || objectid==gate2)
    {
        SetTimerEx("move",20000,1,"i",objectid);
    }
    return 1;
}

forward move(objectid);
public move(objectid)
{
    if(objectid==gate1)
    {
        MoveObject(gate2,blah blah blah);
    }
    else if(objectid=gate2)
    {
        MoveObject(gate1, blah blah blah);
    }
    return 1;
}
It will do that until you kill the timer.
Reply


Messages In This Thread
Need help fast! - by bogzy - 29.07.2010, 22:05
Re: Need help fast! - by mastasquizy - 29.07.2010, 22:09
Re: Need help fast! - by WillyP - 29.07.2010, 22:10
Re: Need help fast! - by bogzy - 29.07.2010, 22:14
Re: Need help fast! - by mastasquizy - 29.07.2010, 22:20
Re: Need help fast! - by bogzy - 29.07.2010, 22:48

Forum Jump:


Users browsing this thread: 1 Guest(s)