07.01.2012, 16:22
pawn Код:
if (strcmp("/signal", cmdtext, true) == 0)
{
new Float:x, Float:y, Float:z, SignalObj;
GetPlayerPos(playerid, x, y, z);
SignalObj = CreateObject(18674,x,y,z, 0.0, 0.0, 96.0);
SetTimer("Signal", 5000, false);
return 1;
}
forward Signal();
public Signal()
{
DestroyObject(SignalObj);
return 1;
}