Help :(
Hello, I have a problem with this plugin, well, what I want to make is that as soon as it connects the customer for the first time (not in changing map) to the server you leave messages on your console.
If I do for example with the command amx_welcome works, which means that there is something wrong. Please I need help.
Greetings, and forgive the English I speak, use the translator google ...
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx> #include <amxmisc>
#define PLUGIN "Plugin" #define VERSION "1.2" #define AUTHOR "Author"
public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) // Add your code here... }
public client_putinserver(id) {
new CurrentTime[9], name[32]
get_user_name(id, name, sizeof name - 1) get_time("%m/%d/%Y - %H:%M:%S",CurrentTime,31) console_print(id,"=========================================================") console_print(id,"Hola %s , bienvenido a los servidores de Hunter Gamers",name) console_print(id,"Estas jugando en Hunter Gamers - Mapas Comunes") console_print(id,"Hora y fecha actual: %s",CurrentTime,31) console_print(id,"Para silenciar a alguien solo hay que escribir /mute") console_print(id,"=========================================================") }
|