Timer to destroy an object!!!
#3

pawn Код:
// do like this

// this on your command
if (strcmp("/your command", cmdtext, true, 10) == 0)
SetTimer("destroy", 8000, false); // 1000 miliseconds (1 second)

// this on bottom of your gamemode or filterscript
forward destroy();
public destroy()
{
    DestroyObject(your object id);
}
LATE
Reply


Messages In This Thread
Timer to destroy an object!!! - by Chrillzen - 09.11.2011, 02:31
Re: Timer to destroy an object!!! - by Norn - 09.11.2011, 02:40
Re: Timer to destroy an object!!! - by jiwan - 09.11.2011, 02:41
Re: Timer to destroy an object!!! - by Chrillzen - 09.11.2011, 02:42
Re: Timer to destroy an object!!! - by Norn - 09.11.2011, 02:43
Re: Timer to destroy an object!!! - by jiwan - 09.11.2011, 03:03

Forum Jump:


Users browsing this thread: 2 Guest(s)