 |
|
Veteran Member
Join Date: Feb 2007
Location: Tennessee
|

08-05-2009
, 14:35
Re: print_center help
|
#3
|
Quote:
Originally Posted by ConnorMcLeod
Code:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
#define VERSION "0.0.1"
public plugin_init()
{
register_plugin("Spawn Message", VERSION, "ConnorMcLeod")
RegisterHam(Ham_Spawn, "player", "Player_Spawn_Post", 1)
}
public Player_Spawn_Post( id )
{
if( is_user_alive(id) )
{
client_print_center(id, "^nM^ne^ns^ns^na^ng^n3")
}
}
client_print_center(id, msg[], any:...)
{
static szMsg[128]
vformat(szMsg, charsmax(szMsg), msg, 3)
engfunc(EngFunc_ClientPrintf, id, 1, szMsg)
}
|
Small bug.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw
I love you exolent!
|
|
|
|
|