Kirito

[TuT] Mensaje de bienvenida al servidor

Recommended Posts

/* 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)
} 

 

Share this post


Link to post
Share on other sites
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.