Wgralem Prefixy na moj serwer 4Fun.
Ale chcialbym zeby to wygladalo w nastepujacy sposob:
[Nasz_Prefix] Nick_Gracza Wiadomość_gracza
chodzi mi o takie kolory, pomoze ktos?
a o to .sma pluginu
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> new const plugin[] = "Nowy Plugin" new const version[] = "1.0" new const author[] = "exTez" public plugin_init() { register_plugin(plugin, version, author); register_message(get_user_msgid("SayText"),"handleSayText"); } public handleSayText(msgId,msgDest,msgEnt){ new id = get_msg_arg_int(1); if(!is_user_connected(id)) return PLUGIN_CONTINUE; new szTmp[256],szTmp2[256]; get_msg_arg_string(2,szTmp, charsmax( szTmp ) ) new szPrefix[64] = "[Nasz_Prefix]"; if(!equal(szTmp,"#Cstrike_Chat_All")){ add(szTmp2,charsmax(szTmp2),szPrefix); add(szTmp2,charsmax(szTmp2)," "); add(szTmp2,charsmax(szTmp2),szTmp); } else{ add(szTmp2,charsmax(szTmp2),szPrefix); add(szTmp2,charsmax(szTmp2),"^x03 %s1^x01 : %s2"); } set_msg_arg_string(2,szTmp2); return PLUGIN_CONTINUE; }
Użytkownik RPK. Macior edytował ten post 29.01.2012 12:37