Raised This Month: $51 Target: $400
 12% 

Help me


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
made.tn
BANNED
Join Date: Nov 2011
Old 11-25-2011 , 13:22   Help me
Reply With Quote #1

thanks for all who's help me to this script:

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

public plugin_init() 
    
RegisterHam(Ham_Killed"player""PlayerKilledPost"1

public 
PlayerKilledPost(victimattackershouldgib

    if(!
is_user_connected(attacker)) 
        return; 

    if(
victim == attacker
        return; 

    if(
get_pdata_int(victim75) != HIT_HEAD
        return; 

    
set_hudmessage(2001000, -1.00.3003.03.00.150.151
    
show_hudmessage(attacker"::HEADSHOT::"

and this script:

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

#define PLUGIN "Hudhead"
#define VERSION "1.0"
#define AUTHOR "made.tn"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_event("DeathMsg""eDeath""a""1>0""2>0""3=1")
}

public 
eDeath(id)
{
      new 
attacker read_data)
      
      if( 
read_data) )
      {
            
set_hudmessage(25500, -1.00.3503.01.21.31.44)
            
show_hudmessage(attacker"Headshot!")
      }

now I'd like to help me to creat this plugin:
if the round is end this hud message was showed

set_hudmessage(255, 0, 0, -1.0, 0.35, 0, 3.0, 1.2, 1.3, 1.4, 4)
show_hudmessage(id, "the round is end")

and thanks

Last edited by made.tn; 11-25-2011 at 13:35.
made.tn is offline
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 11-25-2011 , 13:29   Re: Help me
Reply With Quote #2

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

public plugin_init()
{
    
register_logevent("RoundEnd",2,"1=Round_End"
}

public 
RoundEnd()
{
    
set_hudmessage(25500, -1.00.3503.01.21.31.44)
    
show_hudmessage(id"the round is end")

__________________

Last edited by kramesa; 11-25-2011 at 13:33.
kramesa is offline
fl0werD
Senior Member
Join Date: May 2011
Old 11-25-2011 , 13:30   Re: Help me
Reply With Quote #3

Quote:
Originally Posted by kramesa View Post
PHP Code:
#include <amxmodx>
#include <amxmisc>

public plugin_init()
{
    
register_logevent("RoundEnd",2,"1=Round_End"
}

public 
RoundEnd(id)
{
    
set_hudmessage(25500, -1.00.3503.01.21.31.44)
    
show_hudmessage(id"the round is end")

PHP Code:
#include <amxmodx>

public plugin_init()
{
    
register_logevent("RoundEnd",2,"1=Round_End"
}

public 
RoundEnd() // id - no. This is global event.
{
    
set_hudmessage(25500, -1.00.3503.01.21.31.44)
    
show_hudmessage(0"the round is end")

fl0werD is offline
Send a message via ICQ to fl0werD
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 11-25-2011 , 13:33   Re: Help me
Reply With Quote #4

Quote:
Originally Posted by fl0werD View Post
PHP Code:
#include <amxmodx>

public plugin_init()
{
    
register_logevent("RoundEnd",2,"1=Round_End"
}

public 
RoundEnd() // id - no. This is global event.
{
    
set_hudmessage(25500, -1.00.3503.01.21.31.44)
    
show_hudmessage(0"the round is end")

Sorry, i used a script semi-make.
__________________
kramesa is offline
made.tn
BANNED
Join Date: Nov 2011
Old 11-25-2011 , 13:33   Re: Help me
Reply With Quote #5

thanks all
made.tn is offline
fl0werD
Senior Member
Join Date: May 2011
Old 11-25-2011 , 14:07   Re: Help me
Reply With Quote #6

Quote:
Originally Posted by kramesa View Post
Sorry, i used a script semi-make.
Sorry?? For what?
fl0werD is offline
Send a message via ICQ to fl0werD
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 16:27.


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