Need to put in a automatic gate in pawno, but dont know where to put
#1

like you saw in the title, i dont know where to put my gate script.
Код:
#include <a_samp>
new Boat gate;
forward Boat gateTimer(playerid);

public OnFilterScriptInit()
{
Boat gate = CreateObject(989, 376.90994262695, -1943.0893554688, 0, 0, 0, 13.890258789063);
SetTimer("Boat gateTimer", 1000, 1);
}


public Boat gateTimer(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 10,0, 376.90994262695, -1943.0893554688, 0))
{
MoveObject(Boat gate, 377.06930541992, -1937.6352539063, 0, 3);
}else{
MoveObject(Boat gate, 376.90994262695, -1943.0893554688, 0, 3);
}
Reply


Messages In This Thread
Need to put in a automatic gate in pawno, but dont know where to put - by manunited1878 - 21.02.2010, 19:38
Re: Need to put in a automatic gate in pawno, but dont know where to put - by aircombat - 21.02.2010, 19:41
Re: Need to put in a automatic gate in pawno, but dont know where to put - by manunited1878 - 21.02.2010, 20:06
Re: Need to put in a automatic gate in pawno, but dont know where to put - by Rizard - 21.02.2010, 20:09

Forum Jump:


Users browsing this thread: 1 Guest(s)