Raised This Month: $ Target: $400
 0% 

Can't remove dead body (ClCorpse)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 07-13-2012 , 18:17   Re: Can't remove dead body (ClCorpse)
Reply With Quote #7

Try this :

Code:
#include <amxmodx> #include <fakemeta> #include <hamsandwich> public plugin_init() {         register_plugin( "Remove Corpse", "1.0", "Sylwester" )         set_msg_block( get_user_msgid( "ClCorpse" ), BLOCK_SET )         RegisterHam( Ham_Killed, "player", "player_killed", 1 ) } public player_killed( id ) {         set_pev( id, pev_effects, EF_NODRAW ) }

or this :

Code:
#include <amxmodx> #include <hamsandwich> #include <engine> #include <fakemeta> const m_pActiveItem = 373 public plugin_init()   {     RegisterHam( Ham_Killed, "player", "Ham_CBasePlayer_Killed_Post", 1 )     }   public Ham_CBasePlayer_Killed_Post( id, iKiller ) {     set_pev( id, pev_effects, pev( id, pev_effects ) | EF_NODRAW )     if( is_user_alive( iKiller ) )     {         new iActiveItem = get_pdata_cbase( iKiller, m_pActiveItem )         if( iActiveItem > 3 )         {             engfunc( EngFunc_SetView, id, iActiveItem )         }     } }
Lolz0r 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 15:24.


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