Facebook
From Denim Crane, 7 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 251
  1. #include <sourcemod>
  2. #define MOD_TAG "\x01\x0B\x0E★ \x07[PGC24 -> Web Commands]\x06 "
  3. public Plugin:myinfo =
  4. {
  5.         name = "PGC24 -> Web Commands",
  6.         description = "Autorski plugin PGC24.PL",
  7.         author = "Mesharsky",
  8.         version = "1.0",
  9.         url = "http://www.PGC24.PL"
  10. };
  11. public void OnPluginStart() {
  12.         RegConsoleCmd("sm_regulamin", CMD_Regulamin);
  13.         RegConsoleCmd("sm_rekrutacja", CMD_Rekrutacja);
  14.         RegConsoleCmd("sm_forum", CMD_Forum);
  15.        
  16. }
  17.  
  18. public Action CMD_Regulamin(int client, int args) {
  19.         PrintToChat(client, "%sPoczekaj chwile, niech strona się załaduje !", MOD_TAG);
  20.         ShowMOTDPanel(client, "Regulamin", "https://pgc24.pl/api.php?url=Regulamin Serwera Only Awp - Informacje/Ogłoszenia - PGC24.PL | Sieć serwerów Counter-Strike", MOTDPANEL_TYPE_URL);
  21.         return Plugin_Handled;
  22. }
  23. public Action CMD_Rekrutacja(int client, int args) {
  24.         PrintToChat(client, "%sPoczekaj chwile, niech strona się załaduje !", MOD_TAG);
  25.         ShowMOTDPanel(client, "Zabawy", "https://pgc24.pl/api.php?url=https://pgc24.pl/forum/index.php?/topic/235-wz%C3%B3r-i-wymagania-na-j/", MOTDPANEL_TYPE_URL);
  26.         return Plugin_Handled;
  27. }
  28.  
  29. }
  30. public Action CMD_Forum(int client, int args) {
  31.         PrintToChat(client, "%sPoczekaj chwile, niech strona się załaduje !", MOD_TAG);
  32.         ShowMOTDPanel(client, "Zabawy", "https://pgc24.pl/api.php?url=https://pgc24.pl/forum", MOTDPANEL_TYPE_URL);
  33.         return Plugin_Handled;
  34. }
  35.