AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Help] Plugin Welcome (https://forums.alliedmods.net/showthread.php?t=84592)

Axel Bohem 01-28-2009 14:18

[Help] Plugin Welcome
 
Help
I leave this sma

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "say"
#define VERSION "1.0"
#define AUTHOR "agus edit by L//"

public plugin_init
()
{
register_plugin(PLUGIN, VERSION, AUTHOR
)
}

public
client_disconnect(id
)
{
remove_task(id
)
}

public
client_putinserver(id
)
{
set_task(10.0, "mensaje", id
)
}

public
mensaje(id
)
{
new
name[32
]
new
ip[64
]
get_user_name(id, name, sizeof name - 1
)
get_user_ip(id, ip, sizeof ip - 1
)
client_print(id, print_chat, "[Servidor] Hola %s Tu ip Es %s", name, ip
)
client_print(id, print_chat, "[Servidor] Mensaje 2"
)
client_print(id, print_chat, "[Servidor] Mensaje 3"
)
client_print(id, print_chat, "[Servidor] Mensaje 4"
)

}



What I need is to put the message with the second and third color such as red and green

SnoW 01-28-2009 14:49

Re: [Help] Plugin Welcome
 
Search with word "ColorChat". And before posting next thread, search also.


All times are GMT -4. The time now is 01:45.

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