AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Hud after dead. (https://forums.alliedmods.net/showthread.php?t=232818)

skunew 01-05-2014 10:02

Hud after dead.
 
Hi please help me.
I looking for plugin. This plugin must show random hud after dead.

You dead and in left corner show "Dont spam in chat" or other point of rules.

Text color - green.

ANTICHRISTUS 01-05-2014 14:31

Re: Hud after dead.
 
search (in titles) for existing plugins, keywords like advert*, *message*, etc.

xxxperts 01-07-2014 11:57

Re: Hud after dead.
 
Never Tested But Should Work....:D

PHP Code:

#include <amxmodx>
#include <amxmisc>

#define PLUGIN    "After Died Hud Message"
#define VERSION    "1.0"
#define AUTHOR    "[ZOF 'X]"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR);
    
    
register_event("DeathMsg""Event_Dead""a");
}

public 
Event_Dead()
{
    new 
iVictim read_data(2);
    
    
set_task(2.0"HUD_MSG"iVictim);
}

public 
HUD_MSG(id)
{
    
set_hudmessage(02550, -1.00.8004.012.0);
    
show_hudmessage(id"Your Message Here");




All times are GMT -4. The time now is 20:32.

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