Where shoukd i put this co ordinate??
#3

From what I understand, you do not know where put?

Try:
In your script top:
pawn Код:
#include <a_samp>

new gate;
forward gateTimer(playerid);
In "OnFilterScriptInit":
pawn Код:
gate = CreateObject(976, 211.22889709473, -1447.3885498047, 12.159649848938, 0, 0, 230.97595214844);
SetTimer("gateTimer", 1000, 1);
In any place of your script
pawn Код:
public gateTimer(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 10, 211.22889709473, -1447.3885498047, 12.159649848938))
{
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: 2 Guest(s)