Where shoukd i put this co ordinate??
#4

that automatic gate coordinate idk where to put i

//Gate variable and forward
new gate;
forward gateTimer(playerid);

//Object and timer at OnGameModeInit/OnFilterScriptInit
gate = CreateObject(976, 211.22889709473, -1447.3885498047, 12.159649848938, 0, 0, 230.97595214844);
SetTimer("gateTimer", 1000, 1);
//Add this callback where you want but not inside another callback!!
public gateTimer()
{
if(IsPlayerInRangeOfPoint(playerid, 10, 211.22889709473, -1447.3885498047, 12.15964984893)
{
MoveObject(gate, 205.57905578613, -1454.2342529297, 12.159649848938, 5);
}else{
MoveObject(gate, 211.22889709473, -1447.3885498047, 12.159649848938, 5);
}
}
Reply


Messages In This Thread
Where shoukd i put this co ordinate?? - by empty_full - 26.02.2010, 16:59
Re: Where shoukd i put this co ordinate?? - by Torran - 26.02.2010, 17:05
Re: Where shoukd i put this co ordinate?? - by LuxurioN™ - 26.02.2010, 17:09
Re: Where shoukd i put this co ordinate?? - by empty_full - 26.02.2010, 17:11
Re: Where shoukd i put this co ordinate?? - by empty_full - 26.02.2010, 17:25
Re: Where shoukd i put this co ordinate?? - by VonLeeuwen - 26.02.2010, 17:56
Re: Where shoukd i put this co ordinate?? - by Joe Staff - 26.02.2010, 18:14
Re: Where shoukd i put this co ordinate?? - by empty_full - 26.02.2010, 18:46
Re: Where shoukd i put this co ordinate?? - by empty_full - 27.02.2010, 03:03

Forum Jump:


Users browsing this thread: 1 Guest(s)