AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Spanish (https://forums.alliedmods.net/forumdisplay.php?f=135)
-   -   [AYUDA] 16 jornadas disputadas un message de buen juego parece (https://forums.alliedmods.net/showthread.php?t=181915)

extream87 04-03-2012 19:55

[AYUDA] 16 jornadas disputadas un message de buen juego parece
 
¿Es posible hacer un script que después de 16 jornadas disputadas un mensaje para decir buen juego parece? message: GG!

xLeoNNN 04-03-2012 19:57

Re: [AYUDA] 16 jornadas disputadas un message de buen juego parece
 
PHP Code:

#include <amxmodx>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"

new rounds

public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_event("HLTV""event_round_start""a""1=0""2=0")
}

public 
event_round_start()
{
    
rounds++
    
    if(
rounds == 16)
        
client_print(0print_chat"GG!")



extream87 04-03-2012 20:44

Re: [AYUDA] 16 jornadas disputadas un message de buen juego parece
 
Si es esto, pero no te olvides de: 9-6 = 15 cambio de equipos. Quando una equipo alcanze los 16 el menssage GG! aparece.
Esto es guardar el score de los rounds.
Code:
#include <amxmodx> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "author" new rounds public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)         register_event("HLTV2", "GoodGame", "a", "1=0", "2=0") } public GoodGame() {     rounds++         if(rounds == 16)         client_print(0,print_chat,"GG! GG! GG! GG! GG! GG!")         client_print(0,print_chat,"GG! GG! GG! GG! GG! GG!")         client_print(0,print_chat,"GG! GG! GG! GG! GG! GG!")         client_print(0,print_chat,"GG! GG! GG! GG! GG! GG!")         client_print(0,print_chat,"GG! GG! GG! GG! GG! GG!")     return PLUGIN_HANDLED }


All times are GMT -4. The time now is 07:26.

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