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

[ES] Auto mensaje que se mande cuando alguien entra al server


  
 
 
Thread Tools Display Modes
Javivi
AlliedModders Donor
Join Date: Dec 2008
Old 01-07-2010 , 13:23   Re: [ES] Auto mensaje que se mande cuando alguien entra al server
#11

Quote:
Originally Posted by vazmar View Post
Porque no usan Ham_Spawn, en vez de ver si esta vivo.. hacer task , y todo eso
Porque lo mostraria siempre.
__________________
Javivi is offline
axelgrox
BANNED
Join Date: Mar 2009
Location: Argentina [Tucuman]
Old 01-07-2010 , 13:27   Re: [ES] Auto mensaje que se mande cuando alguien entra al server
#12

claro por eso hay lo edite
axelgrox is offline
Send a message via MSN to axelgrox Send a message via Skype™ to axelgrox
Luucho
Junior Member
Join Date: Dec 2009
Old 01-07-2010 , 13:32   Re: [ES] Auto mensaje que se mande cuando alguien entra al server
#13

proba con este ami me andubo
PHP Code:
#include <amxmodx>
#include <colorchat>

#define SVTAG "[GameFusion]"

new g_msgSayText

public plugin_init() 
{
    
register_plugin("GameFusion""0.556""Luucho")
    
RegisterHam(Ham_Killed"player""fw_playerkilled")
    
g_msgSayText get_user_msgid("SayText"
}
  
  

public 
client_putinserver(id)
{
    
set_task(5.0"BienvenidoMsg"id)
   
}
public 
BienvenidoMsg(id)
{
    new 
name[32]
    
get_user_name(idnamesizeof name 1)
    
    
ColorChat(idNORMAL"^x04%s^x01 Bienvenido ^x04%s^x01 a GameFusion V.0.556 By Luucho"SVTAGname)
}

stock gChat(const id, const input[], any:...)
{
    new 
count 1players[32]
    static 
msg[191]
    
vformat(msg190input3)
    
    if (
idplayers[0] = id;  
    
    else 
get_players(playerscount"ch"
    {
        for (new 
0counti++)
        {
                
message_begin(MSG_ONE_UNRELIABLEg_msgSayText_id
                
write_byte(players[i]);
                
write_string(msg);
                
message_end();
    }
}

__________________
[IMG]http://img372.**************/img372/4615/simpsonsfanjt3.png[/IMG]


Luucho is offline
Old 01-07-2010, 15:33
Spartan!
This message has been deleted by Spartan!. Reason: asd
kkvnn
BANNED
Join Date: Dec 2009
Old 01-07-2010 , 16:48   Re: [ES] Auto mensaje que se mande cuando alguien entra al server
#14

Quote:
Originally Posted by aagguuu View Post
Hola, quiero hacer un plugin qe cuando alguien entre al server vea un auto mensaje en el say, pero que lo vea el solo. entienden? Bueno gracias,a y qe se mande cuando ya elijio un team
Busca un post qe hisi metralicroSs para qe pidan plugins, en la lista de plugins pedidos ahy un plugin qe es un mensajito colorido modificable para cuando uno entra al svr..
kkvnn is offline
[L]oL
Senior Member
Join Date: Dec 2009
Old 01-07-2010 , 16:54   Re: [ES] Auto mensaje que se mande cuando alguien entra al server
#15

event_round_start... wow tan dificil es hacer eso?

si no usa como te dicen los otros...

en client_putinserver hace el tipico set task y listo...


PD: Hay muchas formas no solo son esas... y no se porque le repiten el mismo plugin...
__________________
AGUANTE EL METAL
[L]oL is offline
MouseSplash!
Veteran Member
Join Date: Dec 2009
Location: En Tu Mente!
Old 01-07-2010 , 17:27   Re: [ES] Auto mensaje que se mande cuando alguien entra al server
#16

Quote:
Originally Posted by Luucho View Post
proba con este ami me andubo
PHP Code:
#include <amxmodx>
#include <colorchat>

#define SVTAG "[GameFusion]"

new g_msgSayText

public plugin_init() 
{
    
register_plugin("GameFusion""0.556""Luucho")
    
// RegisterHam(Ham_Killed, "player", "fw_playerkilled")Esto no es necesario
    
g_msgSayText get_user_msgid("SayText"
}
  
  

public 
client_putinserver(id)
{
    
set_task(5.0"BienvenidoMsg"id)
   
}
public 
BienvenidoMsg(id)
{
    new 
name[32]
    
get_user_name(idnamesizeof name 1)
    
    
ColorChat(idNORMAL"^x04%s^x01 Bienvenido ^x04%s^x01 a GameFusion V.0.556 By Luucho"SVTAGname)
}

stock gChat(const id, const input[], any:...)
{
    new 
count 1players[32]
    static 
msg[191]
    
vformat(msg190input3)
    
    if (
idplayers[0] = id;  
    
    else 
get_players(playerscount"ch"
    {
        for (new 
0counti++)
        {
                
message_begin(MSG_ONE_UNRELIABLEg_msgSayText_id
                
write_byte(players[i]);
                
write_string(msg);
                
message_end();
    }
}

MouseSplash! is offline
Hasler33
BANNED
Join Date: Jan 2010
Old 01-07-2010 , 22:42   Re: [ES] Auto mensaje que se mande cuando alguien entra al server
#17

PHP Code:
#include <amxmodx>

public plugin_init() 
{
    
register_plugin("Jointeam""1.2""Hasler30")
    
    
register_event"TeamInfo""Join_Team""a")
}


public 
Join_Team()
{    
    new 
id read_data(1)
    static 
team[32]
    
    
read_data(2team31)    
    
    if(!
is_user_connected(id))
        return 
PLUGIN_CONTINUE    
    
    
switch(team[0])
    {
        case 
'C':  
        { 
        
client_print(read_data(1),print_chat,"Bienvenido al server")
        }
            
        case 
'T'
        {
        
client_print(read_data(1),print_chat,"Bienvenido al server")
        }
        
        
    }
    return 
PLUGIN_CONTINUE
    

Hasler33 is offline
 



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 01:57.


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