20.09.2009, 15:37
Create a timer then.
Paste that into a new Script and use it as a FS'
-Mike.
**P.S: Link to Pastebin
pawn Код:
#include <a_samp>
forward BombTimer();
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Bomb Timer - NY-Gaming.com - [NYRP]Mike.");
print("--------------------------------------\n");
SetTimer("BombTimer", 500, 1); //Bomb System
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/manualbomb", cmdtext, true, 10) == 0)
{
// objects here if u dnt want to wait for the timer
return 1;
}
return 0;
}
public BombTimer()
{
//=============================================[PLACE BOMB OBJECTS HERE]=================================
//=======================================================================================================
return 1;
}
-Mike.
**P.S: Link to Pastebin