Monthly Target: $400 Donations: $23
 5% 

[AYUDA] 16 jornadas disputadas un message de buen juego parece


  
 
 
Thread Tools Display Modes
Author Message
extream87
Senior Member
Join Date: Aug 2011
Old 04-03-2012 , 19:55   [AYUDA] 16 jornadas disputadas un message de buen juego parece
#1

¿Es posible hacer un script que después de 16 jornadas disputadas un mensaje para decir buen juego parece? message: GG!
extream87 is offline
xLeoNNN
Veteran Member
Join Date: Sep 2010
Location: de_dust2
Old 04-03-2012 , 19:57   Re: [AYUDA] 16 jornadas disputadas un message de buen juego parece
#2

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!")

__________________
xLeoNNN is offline
Send a message via MSN to xLeoNNN
Old 04-03-2012, 20:01
Swaycher
This message has been deleted by lucas_7_94. Reason: No trates de ayudar si no sabes lo que estas haciendo.
extream87
Senior Member
Join Date: Aug 2011
Old 04-03-2012 , 20:44   Re: [AYUDA] 16 jornadas disputadas un message de buen juego parece
#3

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 }

Last edited by extream87; 04-03-2012 at 22:31.
extream87 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 19:21.


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