Raised This Month: $ Target: $400
 0% 

Remove HE After Exploding


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ardonicek
Senior Member
Join Date: Feb 2013
Location: My home
Old 03-09-2014 , 13:41   Remove HE After Exploding
Reply With Quote #1

Hello, i'm looking for a plugin, which will remove the thing which lasts after grenade explodes.
I couldn't find it anywhere, could somebody code it for me, please?


__________________
Latest plugin: dHUD Round | Timeleft
Ardonicek is offline
Send a message via ICQ to Ardonicek Send a message via Skype™ to Ardonicek
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 03-09-2014 , 17:58   Re: Remove HE After Exploding
Reply With Quote #2

Quote:
Originally Posted by Ardonicek View Post
the thing which lasts after grenade explodes.
do you mean the black sprite ? I think that I saw a similar request some weeks/months ago. don't know what keywords to use (search in titles), maybe sprite*+he* or sprite*+*nade* .

ps. if you don't understand those keywords, please read this.
__________________
ANTICHRISTUS is offline
Ardonicek
Senior Member
Join Date: Feb 2013
Location: My home
Old 03-09-2014 , 18:06   Re: Remove HE After Exploding
Reply With Quote #3

Quote:
Originally Posted by ANTICHRISTUS View Post
do you mean the black sprite ? I think that I saw a similar request some weeks/months ago. don't know what keywords to use (search in titles), maybe sprite*+he* or sprite*+*nade* .

ps. if you don't understand those keywords, please read this.

I was searching for it, nothing found
__________________
Latest plugin: dHUD Round | Timeleft
Ardonicek is offline
Send a message via ICQ to Ardonicek Send a message via Skype™ to Ardonicek
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 03-10-2014 , 03:10   Re: Remove HE After Exploding
Reply With Quote #4

See how you go with this:
Code:
#include <amxmodx> new const VERSION[] = "0.0.1"; public plugin_init() {     register_plugin( "Remove Grenade Scorch", VERSION, "hornet" );         register_message( SVC_TEMPENTITY, "Message_SVC_Tempentity" ); } public Message_SVC_Tempentity() {     if( get_msg_arg_int( 1 ) == TE_WORLDDECAL )     {         return PLUGIN_HANDLED;     }         return PLUGIN_CONTINUE; }
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
Spawner30
BANNED
Join Date: Dec 2013
Location: I Don't Know Yet
Old 03-10-2014 , 04:46   Re: Remove HE After Exploding
Reply With Quote #5

This Is The Version Of ConnorMcleod Test It

PHP Code:
#include <amxmodx> 
#include <engine> 

#define VERSION "0.0.1" 
#define PLUGIN "No Grenade Decals" 

new DECAL_SCORCHBITSUM 

public plugin_init() 

    
register_plugin(PLUGINVERSION"ConnorMcLeod"

    
register_message(SVC_TEMPENTITY"Message_TempEntity"

    
DECAL_SCORCHBITSUM = ( 1<<get_decal_index("{scorch1") ) |  ( 1<<get_decal_index("{scorch2") ) 


public 
Message_TempEntity(iMsgIdiMsgDestid

    static const 
TE_DECAL_MESSAGES = ( 1<<TE_DECAL ) | ( 1<<TE_WORLDDECAL 
    if( 
iMsgDest == MSG_BROADCAST && ( 1<<get_msg_arg_int(1) & TE_DECAL_MESSAGES ) && ( 1<<get_msg_arg_int(5) & DECAL_SCORCHBITSUM ) ) 
    { 
        return 
PLUGIN_HANDLED 
    

    return 
PLUGIN_CONTINUE 

Spawner30 is offline
Send a message via Skype™ to Spawner30
Reply



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 06:34.


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