Raised This Month: $ Target: $400
 0% 

[SOLVED] [CS] remove multiple C4


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
alonelive
Senior Member
Join Date: Jan 2011
Location: Big snow country.. :)
Old 01-27-2013 , 05:24   [SOLVED] [CS] remove multiple C4
Reply With Quote #1

Hello all! I have a simple question.

PHP Code:
    new bomb
    
if ((bomb fm_find_ent_by_model(-1"grenade""models/w_c4.mdl")))
    {
        
fm_remove_entity(bomb)
    } 
This code removes a planted C4.

If I have 2 or more C4 (which planted on map) the code removes only LAST PLANTED C4.
How i can remove ALL c4 bombs from map (it's a simple fun mod). ?
__________________
sorry my bad english...

Last edited by alonelive; 01-31-2013 at 05:01.
alonelive is offline
 



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 20:38.


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