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
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38.
#include <amxmodx> #include <colorchat> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "speedkill" new g_Vip[33]; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR); register_clcmd("say_team","g_Chat",_,"<* Wiadomosc>"); } public client_authorized(id) g_Vip[id] = true public g_Chat(id){ if(is_user_connected(id) && g_Vip[id]){ new g_Msg[192], g_Text[192]; read_argv(id,g_Msg,charsmax(g_Msg)); if(g_Msg[0] == '*'){ replace(g_Msg,charsmax(g_Msg),"*",""); new g_Name[64]; get_user_name(id,g_Name,charsmax(g_Name)); formatex(g_Text,charsmax(g_Text),"^x01(Vip Chat) ^x03%s :^x04%s",g_Name,g_Msg); for(new i=1;i<33;i++){ if(is_user_connected(i) && g_Vip[i]) ColorChat(i,GREEN,"%s", g_Text); } return PLUGIN_HANDLED_MAIN } } return PLUGIN_CONTINUE }
Dodanych wklejek: 11179
Powered By (Pav32) Pastebin © 2011