y_timers help
#4

Code:
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
    if(newkeys&KEY_CROUCH)
   {
        if(IsPlayerInRangeOfPoint(playerid,5.0,477.25,-1317.91,15.27))
	{
            MoveObject(barierawd1,477.1512,-1317.9750,15.2730,20,0.0000,0.0000,35.5438);
            SetTimer("CloseBarrierwd1",5000,0);
            return 1;
	}
        if(IsPlayerInRangeOfPoint(playerid,5.0,438.91,-1344.35,14.97))
	{
             MoveObject(barierawd2,438.8107,-1344.3813,14.9669,20,0.0000,0.0000,31.5725);
	     SetTimer("CloseBarrierwd2",5000,0);
	     return 1;
	}
    }
    return 1;
}
How i transform this ... with y_timers ?
Reply


Messages In This Thread
y_timers help - by Bect - 10.03.2012, 15:36
Re: y_timers help - by Bect - 10.03.2012, 16:37
Re: y_timers help - by Bect - 11.03.2012, 16:16
Re: y_timers help - by Bect - 11.03.2012, 17:04
Re: y_timers help - by Bect - 12.03.2012, 13:42
Re: y_timers help - by Bect - 12.03.2012, 18:08
Re: y_timers help - by Bect - 13.03.2012, 10:22
Re: y_timers help - by Bect - 13.03.2012, 19:31
Re: y_timers help - by Bect - 14.03.2012, 14:43

Forum Jump:


Users browsing this thread: 1 Guest(s)