There's no point in putting the else and the part after it, it will only cause errors.
PHP Code:
#include <amxmodx>
#include <hamsandwich>
#define PLUGIN "SIMPLE HUD Message"
#define VERSION "1.0"
#define AUTHOR "Anonymouse"
public plugin_init()
{
RegisterHam( Ham_Spawn, "player", "fwHamPlayerSpawnPost", 1 );
}
public fwHamPlayerSpawnPost( iPlayer )
{
if( is_user_alive( iPlayer ) )
{
// player spawned
client_print( iPlayer, print_center, "YOU ARE RE SPAWNED, GOODLUCK! FOR THIS TIME" );
client_print( iPlayer, print_center, "DON'T GET FUCKED UP THIS TIME, RETREAT HELL!!" );
}
}
__________________