Raised This Month: $ Target: $400
 0% 

Hud Message Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
enjoi.
Veteran Member
Join Date: Mar 2011
Old 10-06-2011 , 07:46   Hud Message Help
Reply With Quote #1

I'm trying to make a plugin with mp_roundtime 145 but I can't figure this out. I want it to announce the last bullet kill.


PHP Code:
#include <amxmodx>

#pragma semicolon 1

#define VERSION        "1.1"

public plugin_init()
{
    
register_plugin("Hud Advertising"VERSION"enjoi.");
    
    
set_task(145.0"ShowAdvert"___"b");
}

public 
ShowAdvert(id)
{
    new 
szName[32]; get_user_name(idszNamecharsmax(szName))
    
set_hudmessage(00255, -1.00.8500.012.00.10.2);  
    
show_hudmessage(0"Last Bullet By: %s"szName);

Can anybody help?

Edit: Just do the hudmessage in the code please. Thanks
__________________
Block Maker v6.0 []
Point Slay v3.0 []
Contact [ PM ]

Last edited by enjoi.; 10-06-2011 at 15:12.
enjoi. 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 19:44.


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