public plugin_init() { register_message(get_user_msgid("SayText"), "msg_saytext"); } public msg_saytext(msgid, dest, id) { new target = get_msg_arg_int(1); if(!is_user_connected(target)) { return; } new text[192]; get_msg_arg_string(2, text, charsmax(text)); new ranga[30]; rank(target, ranga); if(!equal(text, "#Cstrike_Chat_All")) { set_msg_arg_string(2, fmt("^4[%s]^3 %s", ranga, text)); } else { get_msg_arg_string(4, text, charsmax(text)); set_msg_arg_string(4, ""); set_msg_arg_string(2, fmt("^4[%s]^3 %n^1 : %s", ranga, target, text)); } }
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse