Raised This Month: $ Target: $400
 0% 

Detect lasermine - incorrect code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 07-07-2012 , 16:07   Re: Detect lasermine - incorrect code
Reply With Quote #3

I use a forward to do it...

Here is an example:
PHP Code:
g_lm_forward;

public 
plugin_init( )
    
g_lm_forward CreateMultiForward"lasermine_kill"ET_IGNOREFP_CELLFP_CELL );

// if you are using the common lasermine/tripmine use this:
set_score(id,target,hitscore,HP){
    
// blablabla
    
new iReturn
    ExecuteForward
g_lm_forwardiReturnidtarget );
)

// you can use this in any other plugin you want
forward lasermine_killkillervictim )

public 
lasermine_killkillervictim )
{
     
// here what you want

__________________

Last edited by Neeeeeeeeeel.-; 07-07-2012 at 16:08.
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
 



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:02.


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