Raised This Month: $ Target: $400
 0% 

Stripping the c4


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
platzpatrone
Veteran Member
Join Date: Apr 2007
Location: Germany
Old 12-26-2009 , 19:44   Re: Stripping the c4
Reply With Quote #4

i use this on my plugin and it worked well

PHP Code:
// How to force a player to drop the bomb?
    
engclient_cmd(id"drop""weapon_c4")
 
// How to remove the dropped bomb?
    
new weapboxbomb fm_find_ent_by_class(-1"weapon_c4")
    if (
bomb && (weapbox pev(bombpev_owner)) > get_maxplayers()) {
        
dllfunc(DLLFunc_Thinkweapbox// will remove weaponbox + weapon_c4 entity pair
        // remove blinking red bomb mark on the radar
        
message_begin(MSG_ALLget_user_msgid("BombPickup"))
        
message_end()
    } 
its from the tutorial
platzpatrone 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 04:08.


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