Posts: 137
Threads: 29
Joined: Dec 2011
Reputation:
0
Hello im making a CounterStrike server, now its like TDM, but i want to make it like Search and Destroy on Call of duty or CS.
I donґt know how to make this code so im asking here for help.
The code consist that Terrorist can plant the bomb, and if it explode they will win, else if the Polices defuse the bomb they will win.
Posts: 1,915
Threads: 64
Joined: Jan 2016
Reputation:
0
« Would help if you handed out some code to aid in making this command, but you know, Scripting Help isn't really for making you a command...
But if someone was going to be kind, then they'd need some basis to go on, rather than nothing and guess everything. » - Sew_Suni
Like everytime, you have give us some code. There is not a request script section.
Posts: 166
Threads: 35
Joined: May 2014
Reputation:
0
just learn how to script pawn it is very easy to make TDM gamemodes !
Posts: 105
Threads: 14
Joined: Apr 2016
Reputation:
0
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;