#5

Код:
#include <a_samp>
//=====
new BrandonGate1;
//=====
forward BrandonGate1Timer(playerid);
//=====
public OnFilterScriptInit()
{
BrandonGate1 = CreateObject(969, 1530.947265625, 96.14453125, 28.636119842529, 0, 0, 25.801391601563);
SetTimer("BrandonGate1Timer", 1000, 1);
}
//=====
public BrandonGate1Timer(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 4, 1530.947265625, 96.14453125, 28.636119842529))
{
MoveObject(BrandonGate1, 1538.9044189453, 100.001953125, 28.584012985229, 2);
}else{
MoveObject(BrandonGate1, 1530.947265625, 96.14453125, 28.636119842529, 2);
}
}
now for some reason the code doesnt work at all i have had the script made by aGateGenerator and none even move at all. you can see the gate tho
Reply


Messages In This Thread
Gate - by RoneyRemington - 25.02.2010, 23:01
Re: Gate - by Torran - 25.02.2010, 23:11
Re: Gate - by Correlli - 25.02.2010, 23:16
Re: Gate - by [LSR]State_Trooper - 26.02.2010, 04:50
Re: Gate - by RoneyRemington - 26.02.2010, 15:32
Re: Gate - by RoneyRemington - 26.02.2010, 16:13
Re: Gate - by GTAguillaume - 26.02.2010, 16:17

Forum Jump:


Users browsing this thread: 1 Guest(s)