How to disable and the enable the BOMB ability on de_maps?
I found how disable it:
Quote:
//REMOVE BOMB - Works fine (module "engine")
for(new inum=0;inum<=get_global_int(GL_maxEntities);i num++)
{
if(!is_valid_ent(inum)) continue
new class[76]
entity_get_string(inum,EV_SZ_classname,class, 75)
if(equal(class,"func_bomb_target"))
remove_entity(inum)
}
|
But I need later reenable this function. Disable it only on one, knife round. If anybody tell me how disable pistols and buy in that round too, i will be glad.
Thanks for answers