Zasłużony Andrzej. Opublikowano 26 Lutego 2021 Zasłużony Udostępnij Opublikowano 26 Lutego 2021 [Opis] Po wpisaniu komend !ts, !gt, !bany, !gotv, !forum, !grupa na czacie drukowane są linki do wszystkich tych rzeczy. Równie dobrze możecie sobie zastąpić te linki na jaki kolwiek tekst po zmienieniu lub dodaniu komendy. [Instalacja] Standardowa Autor: Andrzej. Spoiler #include <sourcemod> #include <multicolors> #pragma semicolon 1 #pragma newdecls required public void OnPluginStart() { RegConsoleCmd("sm_teamspeak", Cmd_Discord); RegConsoleCmd("sm_ts", Cmd_Discord); RegConsoleCmd("sm_discord", Cmd_Discord); RegConsoleCmd("sm_dc", Cmd_Discord); RegConsoleCmd("sm_forum", Cmd_Website); RegConsoleCmd("sm_grupa", Cmd_Group); RegConsoleCmd("sm_steam", Cmd_Group); RegConsoleCmd("sm_gotv", Cmd_Gotv); RegConsoleCmd("sm_dema", Cmd_Gotv); RegConsoleCmd("sm_sourcebans", Cmd_Bany); RegConsoleCmd("sm_bany", Cmd_Bany); RegConsoleCmd("sm_regulamin", Cmd_Regulamin); RegConsoleCmd("sm_rules", Cmd_Regulamin); RegConsoleCmd("sm_gt", Cmd_Gt); RegConsoleCmd("sm_gametracker", Cmd_Gt); RegConsoleCmd("sm_głosowanie", Cmd_Vote); RegConsoleCmd("sm_freevip", Cmd_Vip); RegConsoleCmd("sm_testvip", Cmd_Vip); RegConsoleCmd("sm_viptest", Cmd_Vip); } public Plugin myinfo = { name = "Przekierowania", description = "Drukuje linki na czacie po wpisaniu komendy", author = "Andrzej", version = "1.0", url = "https://steamcommunity.com/id/andrzej1/", }; public Action Cmd_Discord(int client, int args) { CPrintToChat(client, "★ {lightred}StrefaSkilla.pl{default} ★ {blue}[TeamSpeak] {orange}ts.strefaskilla.pl"); } public Action Cmd_Website(int client, int args) { CPrintToChat(client, "★ {lightred}StrefaSkilla.pl{default} ★ {blue}[Forum] {orange}https://strefaskilla.pl"); } public Action Cmd_Group(int client, int args) { CPrintToChat(client, "★ {lightred}StrefaSkilla.pl{default} ★ {blue}[Grupa] {orange}https://steamcommunity.com/groups/strefaskillaofficial"); } public Action Cmd_Gotv(int client, int args) { CPrintToChat(client, "★ {lightred}StrefaSkilla.pl{default} ★ {blue}[GOTV] {orange}https://e96.gotv.pro/65465"); } public Action Cmd_Bany(int client, int args) { CPrintToChat(client, "★ {lightred}StrefaSkilla.pl{default} ★ {blue}[SourceBans] {orange}http://sourcebans.strefaskilla.xaa.pl/index.php"); } public Action Cmd_Regulamin(int client, int args) { CPrintToChat(client, "★ {lightred}StrefaSkilla.pl{default} ★ {blue}[Regulamin] {orange}https://strefaskilla.pl/temat/25683-regulamin-serwera-3maps/"); } public Action Cmd_Gt(int client, int args) { CPrintToChat(client, "★ {lightred}StrefaSkilla.pl{default} ★ {blue}[GameTracker] {orange}https://www.gametracker.com/server_info/51.83.166.54:27015"); } public Action Cmd_Vote(int client, int args) { CPrintToChat(client, "★ {lightred}StrefaSkilla.pl{default} ★ {blue}[Gosetti] {orange}https://gosetti.pl/serwery/51.83.166.54:27015"); } public Action Cmd_Vip(int client, int args) { CPrintToChat(client, "★ {lightred}StrefaSkilla.pl{default} ★ {blue}[FREEVIP] {green}Tu odbierzesz VIPa na 5 dni -> {orange}https://strefaskilla.pl/temat/25785-obierz-vipa-na-5-dni/"); } przekierowania_andrzej.sp przekierowania_andrzej.smx 1 Odnośnik do komentarza
VIP DeVoX Opublikowano 28 Lutego 2021 VIP VIP Udostępnij Opublikowano 28 Lutego 2021 Odnośnik do komentarza
Rekomendowane odpowiedzi