SA-MP Forums Archive
Some Help Request - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Some Help Request (/showthread.php?tid=371706)



Some Help Request - Team_PRO - 24.08.2012

How To Add movable Gate Like Some Gate In Police Base


Re: Some Help Request - AqEeNo - 24.08.2012

There are tons of TUTs how to make it.Search next time.
Here is tutorial: https://sampforum.blast.hk/showthread.php?tid=195131


Re: Some Help Request - kbalor - 24.08.2012

You need Ingame Object Editor. After setting them up.

pawn Код:
#include <streamer>

new gate[1]

OnGamemodeInit
{
   gate[0] = CreateDynamicObject(987, X, Y, Z, Xr, Yr, Zr);
   return 1;
}

CMD:opengate
{
   MoveDynamicObject(gate[0], xx,yy,zz, 1);
   return 1;
}

CMD:closegate
{
   MoveDynamicObject(gate[0], xx,yy,zz, 1);
   return 1;
}



Re: Some Help Request - kbalor - 24.08.2012

EDIT: Omg sorry double post