RSSy MYGO.pl Opublikowano Czerwiec 4, 2020 o 06:59 RSSy Udostępnij Opublikowano Czerwiec 4, 2020 o 06:59 How can I solve this? PHP Code: #include <amxmodx> #include <colorchat> new pcvar_info new const zemlje[][] = { "\rRomania", "\yCroatia", "\yBosnia and Herzegovina", "\yMontenegro", "\yMacedonia", "\yBulgaria", "\ySerbia", "\yKosovo", "\yAlbania", "\yBrazil", "\yPakistan", "\yPoland", "\ySlovenia", "\yItaly" } public plugin_init() { register_plugin("How to boost server", "3.0", "Ikac") register_clcmd("say /boost", "Boost") register_clcmd("say_team /boost", "Boost") pcvar_info=register_cvar("htbs_info", "600") set_task(get_pcvar_float(pcvar_info), "Info" , _ , _ , _ , "b") } public Boost(id) { client_print(id, print_center, "More info in chat!") ColorChat(id, GREEN, "[SERVER BOOST]^1 You can^4 boost^1 if you're from one of these^4 countries!") set_task(4.0, "Menu", id) return PLUGIN_CONTINUE } public Menu(id) { new naslov[60] new menuitem[65] format(naslov, 59, "\rHow to boost?:"); new menu = menu_create(naslov, "menu_handler"); for(new i=0;i<sizeof zemlje;i++) { formatex(menuitem, charsmax(menuitem), "%s", zemlje); menu_additem(menu, menuitem); } menu_display(id, menu); } public menu_handler(id, menu, item) { if(item==MENU_EXIT) { menu_destroy(menu) return PLUGIN_CONTINUE } new ip[42], ime[42] get_user_ip(0, ip, charsmax(ip)) get_user_name(id, ime, 41) switch(item) { case 0: ColorChat(id, TEAM_COLOR, "^1[Mesaj Romania]:^4 TXT GTRS %s %s^1 Trimite la numarul:^4 1245", ip, ime) case 1: ColorChat(id, TEAM_COLOR, "^1[Poruka Croatia]:^4 TXT GTRS %s %s^1 Poslati na broj:^4 866866", ip, ime) case 2: ColorChat(id, TEAM_COLOR, "^1[Poruka BIH]:^4 TXT GTRS %s %s^1 Poslati na broj:^4 091810700", ip, ime) case 3: ColorChat(id, TEAM_COLOR, "^1[Poruka Crna Gora]:^4 FOR GTRS %s %s^1 Poslati na broj:^4 14741", ip, ime) case 4: ColorChat(id, TEAM_COLOR, "^1[Poruka Macedonia]:^4 TAP GTRS %s %s^1 Ispratete na broj:^4 141551", ip, ime) case 5: ColorChat(id, TEAM_COLOR, "^1[Suobshtenie Bulgaria]:^4 TXT GTRS %s %s^1 Izprashtam do:^4 1916", ip, ime) case 6: ColorChat(id, TEAM_COLOR, "^1[Poruka Srbija]:^4 100 GTRS %s %s^1 Poslati na broj:^4 1410", ip, ime) case 7: ColorChat(id, TEAM_COLOR, "^1[Mesazh Kosovo]:^4 TXT GTRS %s %s^1 Dergoj ne numer:^4 55050", ip, ime) case 8: ColorChat(id, TEAM_COLOR, "^1[Mesazh Albania]:^4 TXT GTRS %s %s^1 Dergoj ne numer:^4 54445", ip, ime) case 9: ColorChat(id, TEAM_COLOR, "^1[Mensagem Brazil]:^4 FOR GTRS %s %s^1 Enviar o numero:^4 49602", ip, ime) case 10: ColorChat(id, TEAM_COLOR, "^1[Message Pakistan]:^4 FOR GTRS %s %s^1 Send to the number:^4 5716", ip, ime) case 11: ColorChat(id, TEAM_COLOR, "^1[Wiadomosc Poland]:^4 TXT GTRS %s %s^1 Wyslij na numer:^4 7668", ip, ime) case 12: ColorChat(id, TEAM_COLOR, "^1[Sporocilo Slovenia]:^4 TXT GTRS %s %s^1 Poslji za stevilka:^4 4848", ip, ime) case 14: ColorChat(id, TEAM_COLOR, "^1[Messaggio Italy]:^4 TXT1 GTRS %s %s^1 Inviare al numero:^4 4885886", ip, ime) } return PLUGIN_CONTINUE } public Info() ColorChat(0, GREEN, "[SERVER BOOST]^1 To^4 boost ^1our server type in chat^4 /boost") Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi