16.02.2013, 14:38
pawn Код:
//The Timer Which will destroy bla bla,
SetTimer("flash",500,1);
pawn Код:
//this will be the variable which will check for the flash
new Flashing;
pawn Код:
forward flash();
public flash()
{
if(Flashing == 1)//We are checking for the object status
{
//Un-comment the lines bellow with the objects
//CreateObject(//first object bla bla
//CreateObject(//bla bla
}
else if(Flashing == 0)//We are checking for the object status
{
//Un-comment the lines bellow with the objects
//DestroyObject(//Destroying the first object
//CreateObject(//Destroying the Second object
}
}