Posts: 386
Threads: 109
Joined: Oct 2010
Reputation:
0
Hello and I have this gamemode that is Mafia VS Police. Mafia have to plant bomb in the police station... How do i check if the bomb is already planted? so that if it's planted, and someone else tries to plant it, i want it to say 'you can't plant the bomb, it's already planted'
Posts: 62
Threads: 18
Joined: Jun 2011
Reputation:
0
new BombPlanted;
//_______________________
On CMD
if (BombPlanted ==1)
{
SendMessage( Bomb Alredy Planted!"
}
else
{
Create Object...
BombPlanted == 1;
}
}
on detonation
{
CreateExplosion
BombPlanted == 0;
}
//_________________________________________