Raised This Month: $ Target: $400
 0% 

Solved Orpheu signature for ShootSatchelCharge


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JusTGo
Veteran Member
Join Date: Mar 2013
Old 06-24-2017 , 21:44   Re: Orpheu signature for ShootSatchelCharge
Reply With Quote #1

you can use this ??

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

public plugin_init()
{
    
register_clcmd("say /plant""PlantABomb")
}

//  "detonatedelay"      Delay before bomb explode (Putting 'detonatedelay' to 0 would force it to mp_c4timer value.)
//  "detonatetarget"  Triggered when bomb is detonated.
//  "defusetarget"        Triggered when bomb is defused.

public PlantABombplayer ) {
    new 
iEntity create_entity"weapon_c4" );
    
    if( !
iEntity )
        return;
    
    
DispatchKeyValueiEntity"detonatedelay""50" );
    
DispatchSpawniEntity );
    
    new 
Float:origin];
    
pevplayerpev_originorigin );
    
    
engfuncEngFunc_SetOriginiEntityorigin );
    
    
force_useiEntityiEntity ); // This plants it

__________________
JusTGo is offline
Chemijs
New Member
Join Date: Jun 2017
Old 06-25-2017 , 10:39   Re: Orpheu signature for ShootSatchelCharge
Reply With Quote #2

Thank you so much, your way is much simpler and does exactly what i need.
Chemijs is offline
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 22:52.


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