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
#2

OnGameModeInit ,

see the file i attached it will help u alot in making gates :

V
V
V
________
Airsoft air rifle
Reply
#3

can someone just give me the full script? with compiled? i have used agate
Reply
#4

Not really scripting discussion now is it .......
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)