[RELEASE] New Admin Info

Descărcări de pluginuri și discuții despre acestea.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Post Reply
User avatar
TheOne1812
Membru, skill +1
Membru, skill +1
Posts: 116
Joined: 13 Apr 2018, 22:57
Detinator Steam: Da
CS Status: Add Me @ Steam for Anything
Detinator server CS: nup
SteamID: STEAM_0:1:65095681
Fond eXtream: 0
Location: On Forum
Contact:

27 Jun 2018, 21:13

Nume plugin: New Admin Info
Descriere: Pluginul de vipinfo e cam vechi, acum cateva saptmanii am incercat sa fac altu, dar am abandonat sursa prin foldere(pentru ca mi-a venit o idee mai buna pentru acest plugin)
Il puteti folosii si modifica dupa bunul plac, dar va rog sa nu il vindeti/ sa va insusiti pluginul
Autor: TheOne1812
Versiune: -
Link oficial: -
Instalare:
1. Fisierul "new_admin_info.sp" se adauga in "addons/sourcemod/scripting"

2. Fisierul "new_admin_info.smx" se adauga in "addons/sourcemod/plugins"

Download:
| Afiseaza codul
#pragma semicolon 1

#define DEBUG

#define PLUGIN_AUTHOR "kRatoss"
#define PLUGIN_VERSION "0.1"

#define OWNER "OWNER"
#define CO "CO"
#define MOD "MOD"
#define ADMIN "ADMIN"
#define VIP "VIP"

#include <sourcemod>
#include <sdktools>

#pragma newdecls required

public Plugin myinfo = 
{
	name = "NEW VIP INFO",
	author = PLUGIN_AUTHOR,
	description = "New VIP Info",
	version = PLUGIN_VERSION,
	url = "kround.ro"
};

public void OnPluginStart()
{
	RegConsoleCmd("sm_info", Command_info, "Opens the menu!");
	RegConsoleCmd("sm_vipinfo", Command_info, "Opens the menu!");
	
	//COMMANDS PENTRU GRAE & VIP
	RegConsoleCmd("sm_info_own", Command_Owner);
	RegConsoleCmd("sm_info_co", Command_Co);
	RegConsoleCmd("sm_info_mod", Command_Mod);
	RegConsoleCmd("sm_info_admin", Command_Admin);
	RegConsoleCmd("sm_info_vip", Command_Vip);
	
	//Some Info Timers
	CreateTimer(15.0, Timer_Info1);
}

public Action Timer_Info1(Handle timer)
{
	if (GetRandomInt(0, 1) == 0)
		PrintToChatAll("\x01 \x04[VIP★ INFO]\x0C  TYPE\x02  !INFO\x0C  FOR ALL\x02  VIP★\x0C  INFORMATION");
				
	else
		PrintToChatAll("\x01 \x04[VIP★ INFO]\x0C  SCRIE\x02  !INFO\x0C  PENTRU TOATE DETALIILE\x02  VIP★");	
}

//MAIN MENU
//
public Action Command_info(int iId, int args)
{
	if(IsClientInGame(iId))
	{
		Menu MAIN_MENU = new Menu(MenuHandler1);
		
		MAIN_MENU.SetTitle("★PETURI (!GRADE, !OWNER)★");
		
		MAIN_MENU.AddItem(OWNER, "★Owner ➤ 35 EURO");
		MAIN_MENU.AddItem(CO, "★Co-Owner ➤ 25 EURO");
		MAIN_MENU.AddItem(MOD, "★Moderator ➤ 15 EURO");
		MAIN_MENU.AddItem(ADMIN, "★Admin ➤ 10 EURO ");
		MAIN_MENU.AddItem(VIP, "★VIP => 10/15 EURO");
		
		MAIN_MENU.AddItem("", "Contact kRatoss To Buy!", ITEMDRAW_DISABLED);
		MAIN_MENU.AddItem("", "PaySafe/CS:GO Skins/PayPal", ITEMDRAW_DISABLED);

		MAIN_MENU.Display(iId, MENU_TIME_FOREVER);
	}

}

public int MenuHandler1(Handle MAIN_MENU, MenuAction action, int param1, int param2)
{
	switch(action)
	{
		case MenuAction_Select:
		{
			char item[64];

			GetMenuItem(MAIN_MENU, param2, item, sizeof(item));


			if(StrEqual(item, "OWNER"))
			{
				ClientCommand(param1, "sm_info_own");
			}
			else if(StrEqual(item, "CO"))
			{
				ClientCommand(param1, "sm_info_co");
			}
			else if(StrEqual(item, "MOD"))
			{
				ClientCommand(param1, "sm_info_mod");
			}
			else if(StrEqual(item, "ADMIN"))
			{
				ClientCommand(param1, "sm_info_admin");
			}
			else if(StrEqual(item, "VIP"))
			{
				ClientCommand(param1, "sm_info_vip");
			} 			
		}
	}
}

//CO-OWNER INFO MENU
//
public Action Command_Co(int iId, int args)
{
	Menu comenu = new Menu(MenuCoHandler);
	
	comenu.SetTitle("★PRETURI (!GRADE, !OWNER)★");
	
	comenu.AddItem("", "★ Tag in Chat & Tab");
	comenu.AddItem("", "★ Acces to BANS");
	comenu.AddItem("", "★ Accest to MAP Change");
	comenu.AddItem("", "★ VERY HIGH Admin Immunity");
	comenu.AddItem("", "★ Acces to RENAME");
	comenu.AddItem("", "★ Acces to Gag, Slay, Kick, etc.");
	
	comenu.ExitBackButton = true;

	comenu.Display(iId, MENU_TIME_FOREVER);
}

public int MenuCoHandler(Handle comenu, MenuAction pAction, int iId, int iOption)
{
	if (pAction == MenuAction_End)
	{
		CloseHandle(comenu);
		comenu = INVALID_HANDLE;
	}
}

//TRUSTED INFO MENU
//
public Action Command_Owner(int iId, int args)
{
	Menu OwnMenu = new Menu(OwnMenuHandler);

	OwnMenu.SetTitle("★PRETURI (!GRADE, !OWNER)★");
		
	OwnMenu.AddItem("", "★ Tag in Chat & Tab");
	OwnMenu.AddItem("", "★ Acces To All Server Comamnds");
	OwnMenu.AddItem("", "★ High Admin Immunity");
	OwnMenu.AddItem("", "★ Entry Songs");
	
	OwnMenu.ExitBackButton = true;

	OwnMenu.Display(iId, MENU_TIME_FOREVER);
}

public int OwnMenuHandler(Handle OwnMenuHandler, MenuAction pAction, int iId, int iOption)
{
	if (pAction == MenuAction_End)
	{
		CloseHandle(OwnMenuHandler);
		OwnMenuHandler = INVALID_HANDLE;
	}
}

//MODERATOR INFO MENU
//
public Action Command_Mod(int iId, int args)
{
	Menu MODmenu = new Menu(MODmenuHandler);

	MODmenu.SetTitle("★PRETURI (!GRADE, !OWNER)★");

	MODmenu.AddItem("", "★ Tag in Chat & Tab");
	MODmenu.AddItem("", "★ Acces to BANS");
	MODmenu.AddItem("", "★ Accest to MAP Change");
	MODmenu.AddItem("", "★ Normal Admin Immunity");
	MODmenu.AddItem("", "★ Acces to RENAME");	
	MODmenu.AddItem("", "★ Acces to Gag, Slay, Kick");
	
	MODmenu.ExitBackButton = true;

	MODmenu.Display(iId, MENU_TIME_FOREVER);
}

public int MODmenuHandler(Handle MODmenuHandler, MenuAction pAction, int iId, int iOption)
{
	if (pAction == MenuAction_End)
	{
		CloseHandle(MODmenuHandler);
		MODmenuHandler = INVALID_HANDLE;
	}
}


//MODERATOR INFO MENU
//
public Action Command_Admin(int iId, int args)
{
	Menu ADMINmenu = new Menu(ADMINmenuHandler);

	ADMINmenu.SetTitle("★PRETURI (!GRADE, !OWNER)★");
		
	ADMINmenu.AddItem("", "★ Tag in Chat & Tab");
	ADMINmenu.AddItem("", "★ Acces to BANS");
	ADMINmenu.AddItem("", "★ Accest to MAP Change");
	ADMINmenu.AddItem("", "★ Low Admin Immunity");
	ADMINmenu.AddItem("", "★ Acces to Gag, Slay, Kick");
	
	ADMINmenu.ExitBackButton = true;

	ADMINmenu.Display(iId, MENU_TIME_FOREVER);
}

public int ADMINmenuHandler(Handle ADMINmenuHandler, MenuAction pAction, int iId, int iOption)
{
	if (pAction == MenuAction_End)
	{
		CloseHandle(ADMINmenuHandler);
		ADMINmenuHandler = INVALID_HANDLE;
	}
}


//MODERATOR INFO MENU
//
public Action Command_Vip(int iId, int args)
{
	Menu VIPmenu = new Menu(VIPmenuHandler);

	VIPmenu.SetTitle("★PRETURI (!GRADE, !OWNER)★");

	VIPmenu.AddItem("", "★ ★ PLATINA => 15 EURO");
	VIPmenu.AddItem("", "★ ★ GOLD => 10 EURO");

	VIPmenu.ExitBackButton = true;

	VIPmenu.Display(iId, MENU_TIME_FOREVER);
}

public int VIPmenuHandler(Handle VIPmenuHandler, MenuAction pAction, int iId, int iOption)
{
	if (pAction == MenuAction_End)
	{
		CloseHandle(VIPmenuHandler);
		VIPmenuHandler = INVALID_HANDLE;
	}
}
Enjoy :)

Il puteti folosii si modifica dupa bunul plac, dar va rog sa nu il vindeti/ sa va insusiti pluginul
Pentru Bugguri >> https://steamcommunity.com/id/kratos1812/

Vreau pareri btw
Last edited by Rainq on 05 Jan 2019, 13:19, edited 2 times in total.
Reason: Editat dupa model
Enix
User avatar
aditheseal
Membru, skill 0
Membru, skill 0
Posts: 74
Joined: 11 Aug 2017, 19:23
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

27 Jun 2018, 23:07

foarte tare pluginul ! :brofist:
User avatar
PorcusorulMagic
Membru, skill +1
Membru, skill +1
Posts: 311
Joined: 12 Sep 2017, 16:41
Detinator Steam: Da
CS Status: Starter Scripter
Detinator server CS: OLDCS.USP.RO
SteamID: STEAM_0:0:102123053
Fond eXtream: 0
Location: Piatra Neamt
Has thanked: 4 times
Been thanked: 1 time
Contact:

28 Jun 2018, 09:46

Arata bine :hearts:
User avatar
OXYD
Membru, skill +1
Membru, skill +1
Posts: 464
Joined: 27 May 2017, 21:38
Detinator Steam: Da
CS Status: Playing CS:GO
Detinator server CS: Go.HellHounds.Ro
Reputatie: Fost Membru Club eXtreamCS (doua luni)
Fond eXtream: 0
Been thanked: 1 time
Contact:

28 Jun 2018, 14:11

Foarte bines , bafta in continuare ;)
Oconasu
Membru, skill 0
Membru, skill 0
Posts: 62
Joined: 11 Aug 2018, 16:46
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

09 Feb 2019, 01:18

Optiunea ExitBackButton nu merge, daca nu ii faci o functie pentru asta.
Fac orice plugin pentru CSGO la comandă.
Dă-mi PM dacă vrei să colaborăm
User avatar
iGreen
Membru, skill 0
Membru, skill 0
Posts: 36
Joined: 02 Apr 2015, 21:26
Detinator Steam: Da
Fond eXtream: 0
Location: R.Moldova
Contact:

02 Jun 2019, 21:19

Ce face acest plugin ?
Contacte:
steam - http://steamcommunity.com/id/igreen_elite
website - https://eliteroyal.ro/forum

Stima si Respect ! :fist_pointing_right: :fist_pointing_left:
User avatar
TheOne1812
Membru, skill +1
Membru, skill +1
Posts: 116
Joined: 13 Apr 2018, 22:57
Detinator Steam: Da
CS Status: Add Me @ Steam for Anything
Detinator server CS: nup
SteamID: STEAM_0:1:65095681
Fond eXtream: 0
Location: On Forum
Contact:

10 Aug 2019, 18:49

iGreen wrote:
02 Jun 2019, 21:19
Ce face acest plugin ?
dechide un meniu cu informatiile vip
ti-ai fi dat seama daca te uitai prin sursa
Post Reply

Return to “Pluginuri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests