Raised This Month: $ Target: $400
 0% 

[Events]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 12-23-2009 , 16:07   [Events]
Reply With Quote #1

// Bomb defused event
register_logevent("logevent_function_p", 3, "2=Defused_The_Bomb")
// Target bombed (right before round end) event
register_logevent("logevent_function", 6, "3=Target_Bombed")


How CAN i find the DEFUSER
How CAN i find the PLANTER


AND how can i remove the C4 for a round
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))

Last edited by ProIcons; 12-23-2009 at 16:09.
ProIcons is offline
Mxnn
Veteran Member
Join Date: Aug 2009
Location: AT MY HOME
Old 12-23-2009 , 16:20   Re: [Events]
Reply With Quote #2

PHP Code:
public bomb_planted(planter) {
}

public 
bomb_defused (defuser) {

For more info:
http://www.amxmodx.org/funcwiki.php?go=func&id=900
&&
http://www.amxmodx.org/funcwiki.php?go=func&id=903
Mxnn is offline
platzpatrone
Veteran Member
Join Date: Apr 2007
Location: Germany
Old 12-23-2009 , 16:29   Re: [Events]
Reply With Quote #3

to remove bomb:

PHP Code:
public remove_bomb()
{
        new 
g_MaxClients get_maxplayers ();
    
        for ( new 
1<= g_MaxClients; ++)
        {
            
engclient_cmd(i"drop""weapon_c4")
        }

        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()
        }    

platzpatrone is offline
Old 12-23-2009, 16:36
ProIcons
This message has been deleted by ProIcons.
Mxnn
Veteran Member
Join Date: Aug 2009
Location: AT MY HOME
Old 12-23-2009 , 17:56   Re: [Events]
Reply With Quote #4

fm_find_ent_by_class(-1, "weapon_c4")
?
I included fakemete and didn't work..

You forgot to put the function?
Mxnn is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 12-23-2009 , 17:58   Re: [Events]
Reply With Quote #5

Quote:
Originally Posted by Mxnn View Post
fm_find_ent_by_class(-1, "weapon_c4")
?
I included fakemete and didn't work..

You forgot to put the function?
#include <fakemeta_util>
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
matsi
Thinkosaur
Join Date: Sep 2006
Old 12-24-2009 , 05:39   Re: [Events]
Reply With Quote #6

http://forums.alliedmods.net/showthread.php?t=40164
matsi is offline
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 12-24-2009 , 17:51   Re: [Events]
Reply With Quote #7

L 12/25/2009 - 00:50:06: [FAKEMETA] Invalid entity
L 12/25/2009 - 00:50:06: [AMXX] Displaying debug trace (plugin "gather.amxx")
L 12/25/2009 - 00:50:06: [AMXX] Run time error 10: native error (native "dllfunc")
L 12/25/2009 - 00:50:06: [AMXX] [0] Gather.sma::remove_bomb (line 1336)
L 12/25/2009 - 00:50:06: [AMXX] [1] Gather.sma::RSZ (line 154)
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 11-24-2010 , 16:44   Re: [Events]
Reply With Quote #8

Bump
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-24-2010 , 16:49   Re: [Events]
Reply With Quote #9

What part of the thread are you bumping for? Remove bomb? Events?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 11-25-2010 , 02:59   Re: [Events]
Reply With Quote #10

Why i am getting this error from my server?
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons 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 04:04.


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