Raised This Month: $ Target: $400
 0% 

How to disable and the enable the BOMB ability on de_maps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
James
Senior Member
Join Date: Dec 2004
Old 08-23-2005 , 19:10   How to disable and the enable the BOMB ability on de_maps
Reply With Quote #1

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
James is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 08-23-2005 , 19:22  
Reply With Quote #2

You could find who has the C4, save their weapons, strip them, and give them all back but the C4. Then the bomb is gone so no one can plant it. Alternatively, make the user drop the bomb and then disable their ability to pick it up.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode