Jump to content

[TuT] Mensaje de bienvenida al servidor


Recommended Posts

Posted
/* Plugin generated by AMXX-Studio */

#include <amxmodx>

#define PLUGIN "Mensaje de bienvenida"
#define VERSION "1.0"
#define AUTHOR "kirito"

public plugin_init()
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
    
    // Add your code here...
}

public client_putinserver(id)
{
    set_task(5.0,"mensaje",id)
}

public mensaje(id)
{
    new nombre[33]; get_user_name(id, nombre, charsmax(nombre))
    
    set_hudmessage(0, 255, 0, -1.0, -1.0, 1, 6.0, 12.0)
    show_hudmessage(id, "Bienvenido %s a la comunidad", nombre)
} 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Terms of Use