24.08.2012, 09:58
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;
}