Kolejny problem
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <geoip>
#define PLUGIN "Hi moje ipp"
#define VERSION "1.0"
#define AUTHOR "Ojciec"
new SayText;
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say a","client_authorized")
register_clcmd("say a","client_disconnect")
SayText = get_user_msgid("SayText");
}
public client_authorized(id)
{
new name [32]
get_user_name(id, name, 31)
new sid [32]
get_user_authid(id, sid, 31)
new ip[16]
get_user_ip(id,ip,15,1)
new kraj[46]
geoip_country(ip,kraj,45)
kolor_text(0, "^x04[Polski Server FFA]^x03Wchodzi: %s, pochodzi z %s jego steamid to :%s", name, kraj, sid)
stock kolor_text(index, const wiadomosc[])
{
new text[192];
formatex(text, 191, wiadomosc);
message_begin(MSG_ONE, SayText, _, index);
write_byte(index);
write_string(text);
message_end();
}
public client_disconnect(id)
{
new name [32]
get_user_name(id, name, 31)
new sid [32]
get_user_authid(id, sid, 31)
new ip[16]
get_user_ip(id,ip,15,1)
new kraj[46]
geoip_country(ip,kraj,45)
kolor_text(0, "^x04[Polski Server FFA]^x03Wychodzi: %s, pochodzi z %s jego steamid to :%s", name, kraj, sid)
stock kolor_text(index, const wiadomosc[])
{
new text[192];
formatex(text, 191, wiadomosc);
message_begin(MSG_ONE, SayText, _, index);
write_byte(index);
write_string(text);
message_end();
}
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
Error: Undefined symbol "kolor_text" on line 34
Error: Invalid expression, assumed zero on line 35
Error: Undefined symbol "kolor_text" on line 35
Error: Number of arguments does not match definition on line 35
Error: Too many error messages on one line on line 35
Compilation aborted.
5 Errors.
Could not locate output file C:UsersOjciecDesktopamxAmx StudioUntitled.amx (compile failed).