Hello again!
I've recently encountered a problem while making my mod. Can someone write me the method to solve it?
Player approaches a static "bomb" entity that is set on map already (done). He has to arm the bomb, so he just simply uses it with USE key. Arming the bomb takes few seconds, so a loading bar appears. If the player dies or stops arming (e.g. simply releases the USE key) the loading bar disappears and the bomb is back in the unarmed state.
I've been wondering if i should use a couple of functions, player prethink, entity think or what? No idea. I havent seen this thing in any plugin so that I could just look at the code and use it. Anyone help me with the code?
To these who dont acctually understand my post, it's very like the "Rush" game mode in Battlefield: Bad Company 2.