SA-MP Forums Archive
Simple Command help - 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: Simple Command help (/showthread.php?tid=365365)



Simple Command help - kbalor - 02.08.2012

Si i have here a simple command forjetpack

pawn Код:
CMD:jp(playerid, params [])
{
    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);
    return GameTextForPlayer(playerid, "~y~Jetpack", 2000,1);
}
I want to automatically destroy the jetpack after 2 minutes if I leave it somewhere. Is that possible or it automatically destroy??