Raised This Month: $12 Target: $400
 3% 

[ES] Plugin de bienvenida


  
 
 
Thread Tools Display Modes
Author Message
fakuh
New Member
Join Date: May 2010
Old 05-20-2010 , 18:54   [ES] Plugin de bienvenida
#1

hola, alguno sabe el nombre de algun plugins que cuando ingresas a un servidor aparesca?:

[HOSTNAME] Hola "name". bienvenido!
[HOSTNAME] Tiempo restante: "tiempo" Proximo Mapa: "map"
[HOSTNAME] Visita nuestra web www...

o algun codigo ke sepan para luego copilarlo y pasarlo a .amxx???

gracias

Last edited by fakuh; 05-20-2010 at 19:19.
fakuh is offline
GusS15
Veteran Member
Join Date: Oct 2009
Location: Venezuela, Caracas
Old 05-20-2010 , 19:03   Re: plugin de bienvenida
#2

ad_manager y arregla el titulo poniendo [ES]
GusS15 is offline
Send a message via MSN to GusS15
Kiske
Veteran Member
Join Date: May 2009
Old 05-20-2010 , 19:11   Re: plugin de bienvenida
#3

Arreglá el título y lee las Reglas.
__________________

Kiske is offline
Send a message via Skype™ to Kiske
fakuh
New Member
Join Date: May 2010
Old 05-20-2010 , 19:21   Re: [ES] Plugin de bienvenida
#4

ahi esta lo del [ES] perdon soi nuevo en el foro.
Pero como configuro el ad_manager para cuando entre un player le aparezca el say ?(solo cuando entra)
fakuh is offline
GusS15
Veteran Member
Join Date: Oct 2009
Location: Venezuela, Caracas
Old 05-20-2010 , 19:29   Re: [ES] Plugin de bienvenida
#5

https://forums.alliedmods.net/showpo...86&postcount=4
GusS15 is offline
Send a message via MSN to GusS15
BolliN
Veteran Member
Join Date: Sep 2009
Location: In your Mind
Old 05-20-2010 , 19:34   Re: [ES] Plugin de bienvenida
#6

pero el ad manager manda los msj cada tanto, o cuando dicen una palabra especifica no es un msj de bienvenida..
BolliN is offline
fakuh
New Member
Join Date: May 2010
Old 05-20-2010 , 19:37   Re: [ES] Plugin de bienvenida
#7

Quote:
Originally Posted by BolliN View Post
pero el ad manager manda los msj cada tanto, o cuando dicen una palabra especifica no es un msj de bienvenida..
x eso :s
fakuh is offline
shinoda
Spanish Moderator
Join Date: Nov 2009
Location: ag_crossfire
Old 05-20-2010 , 19:54   Re: [ES] Plugin de bienvenida
#8

Algo asi ...
PHP Code:
#include <amxmodx>

new sHostname[64]
new 
sNextMap[20]

public 
plugin_init() {
    
register_plugin("a""b""c")
    
    
get_cvar_string("hostname"sHostnamesizeof(sHostname)-1)
    
    
get_cvar_string("amx_nextmap"sNextMapsizeof(sNextMap)-1)
}

public 
client_putinserver(idset_task(3.0"Bievenida"id)

public 
Bienvenida(id) {
    static 
sName[32]; get_user_name(idsNamesizeof(sName)-1)
    
    new 
TimeLeft get_timeleft()
    
    
client_print(idprint_chat"[%s] Hola %s, bienvenido!"sHostnamesName)
    
client_print(idprint_chat"[%s] Tiempo restante: %s, Proximo mapa: %s"sHostnameTimeLeftsNextMap)
    
client_print(idprint_chat"[%s] Visita nuestra web: www.afeitate.com"sHostname)

__________________
Oh hell no this shit is awesome !!!

Last edited by shinoda; 05-20-2010 at 20:08.
shinoda is offline
Send a message via MSN to shinoda Send a message via Skype™ to shinoda
fakuh
New Member
Join Date: May 2010
Old 05-20-2010 , 20:23   Re: [ES] Plugin de bienvenida
#9

gracias ahora pruebo aver que onda
fakuh is offline
Axe-L
Senior Member
Join Date: Jan 2010
Location: Tucumán
Old 05-20-2010 , 22:12   Re: [ES] Plugin de bienvenida
#10

una pregunta para que es el
static
no seria lo mismo si pusiera Sname = get_user_name(id, Sname, 17);
Axe-L is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:56.


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