03.06.2016, 21:13
I will not make code for you lol.
But here are some tips: make new var called Bomb or something and BombActive, then when TT is placing the bomb do this: Bomb = gettime()+60; And now CT will have 60secs do defuse the bomb and also do BombActive = 1; then in 1s timer do this: if((gettime() > Bomb) && BombActive == 1) and now make your script for winning and killing near people. Then in OnPlayerKeyStateChange check if player is holding some key and then this: if((gettime() > Bomb) && BombActive == 1) and now make CT win (you will make that script deff..) and BombActive = 0;
But here are some tips: make new var called Bomb or something and BombActive, then when TT is placing the bomb do this: Bomb = gettime()+60; And now CT will have 60secs do defuse the bomb and also do BombActive = 1; then in 1s timer do this: if((gettime() > Bomb) && BombActive == 1) and now make your script for winning and killing near people. Then in OnPlayerKeyStateChange check if player is holding some key and then this: if((gettime() > Bomb) && BombActive == 1) and now make CT win (you will make that script deff..) and BombActive = 0;