25.06.2012, 23:17
If you're using a streamer, that helps. I know how it's confusing making moving objects, but really, you can define them as you make them. An example:
pawn Код:
#include <a_samp>
#include <F_Streamer>
new gate;
public OnFilterScriptInit()
{
gate = F_CreateObject(insert info here);
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/movegate", cmdtext, true, 10) == 0)
{
MoveObject(gate, whereever you move it to)
//then place a timer here, which closes it in however many seconds.
return 1;
}
return 0;
}