Skocz do zawartości
Przeglądasz forum jako gość, nie masz dostępu do większości funkcji! Zarejestruj się już teraz!
Witaj na Strefaskilla.pl

GŁOSUJ NA SERWERY

Zagłosuj na nasze serwery!

Przejdź do głosowania

NOWY/STARY ODŚWIEŻONY STYL !

Właśnie wleciał odświeżony styl z kilkoma zmianiami i dodatkami

Zobacz szczegóły

FANPAGE

Dołącz do naszej społeczności na fanpage’u!!

DOŁĄCZ!

OTWARTA

Szybka rekrutacja na typera

Złóż podanie

OTWARTA

Szybka rekrutacja na redaktora

Złóż podanie








Drukowanie linków na czacie po wpisaniu komendy


Andrzej.

Rekomendowane odpowiedzi

  • Zasłużony

[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

  • Lubię to! 1

image.png
:pepehands:

 

Odnośnik do komentarza
Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Zapoznaj się z polityką prywatności forum Polityka prywatności oraz regulaminem forum Regulamin

  • Opiekun [MIRAGE #1]
  • Opiekun [MIRAGE #2]
  • Opiekun [1VS1]
  • Opiekun [AWP #1]
  • Opiekun [AWP #2]
  • Opiekun [SURF]
  • Opiekun [MIR/CACH]
  • Opiekun [5VS5]
  • Opiekun [DR+KLASY]