Raised This Month: $ Target: $400
 0% 

Help me


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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 08:24.


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