Raised This Month: $51 Target: $400
 12% 

Searching Plugins, i can't found


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
jesusaliso
Member
Join Date: Aug 2013
Location: Venezuela
Old 09-11-2023 , 05:46   Searching Plugins, i can't found
Reply With Quote #1

Hi guys, I'm looking for 3 plugins, I've been looking for a long time and I can't find them.

The first is the complement of giving 1 AWP weapon per team to random players, also to be able to give the AWP requires a minimum of 10 players.

The second is an advanced statistics plugin that shows hud and chat messages to players about their damage, etc.

The third is the complement to improve the top15, the most updated ranking design

Thanks and sorry for the inconvenience
jesusaliso is offline
Send a message via Skype™ to jesusaliso
Siska1
Senior Member
Join Date: Feb 2020
Location: BedRock
Old 09-11-2023 , 08:37   Re: Searching Plugins, i can't found
Reply With Quote #2

Code:
#include <amxmodx>
#include <cstrike>

#if !defined CSI_AWP
	#error "This plugin requires AMXX 1.9 or a newer version."
#endif

const MAX_AWPS_PER_TEAM = 3
const MIN_PLAYERS = 10

new g_iAWPCount[CsTeams]

public plugin_init()
{
	register_plugin("Max AWPs Per Team", "1.1", "OciXCrom")
	register_logevent("OnRoundStart", 2, "0=World triggered", "1=Round_Start")
}

public OnRoundStart()
{
	g_iAWPCount[CS_TEAM_CT] = 0
	g_iAWPCount[CS_TEAM_T] = 0
}

public CS_OnBuy(id, iItem)
{
	if(iItem == CSI_AWP)
	{
		if(get_playersnum() < MIN_PLAYERS)
		{
			client_print(id, print_center, "You cannot purchase an AWP when there are less than %i players in the server.", MIN_PLAYERS)
			return PLUGIN_HANDLED
		}

		new CsTeams:iTeam = cs_get_user_team(id)

		if(g_iAWPCount[iTeam] == MAX_AWPS_PER_TEAM)
		{
			client_print(id, print_center, "Your team cannot purchase more than %i AWPs per round.", MAX_AWPS_PER_TEAM)
			return PLUGIN_HANDLED
		}

		g_iAWPCount[iTeam]++
	}

	return PLUGIN_CONTINUE
}
__________________
Siska1 is offline
Send a message via Skype™ to Siska1
jesusaliso
Member
Join Date: Aug 2013
Location: Venezuela
Old 09-11-2023 , 10:56   Re: Searching Plugins, i can't found
Reply With Quote #3

Quote:
Originally Posted by Siska1 View Post
Code:
#include <amxmodx>
#include <cstrike>

#if !defined CSI_AWP
	#error "This plugin requires AMXX 1.9 or a newer version."
#endif

const MAX_AWPS_PER_TEAM = 3
const MIN_PLAYERS = 10

new g_iAWPCount[CsTeams]

public plugin_init()
{
	register_plugin("Max AWPs Per Team", "1.1", "OciXCrom")
	register_logevent("OnRoundStart", 2, "0=World triggered", "1=Round_Start")
}

public OnRoundStart()
{
	g_iAWPCount[CS_TEAM_CT] = 0
	g_iAWPCount[CS_TEAM_T] = 0
}

public CS_OnBuy(id, iItem)
{
	if(iItem == CSI_AWP)
	{
		if(get_playersnum() < MIN_PLAYERS)
		{
			client_print(id, print_center, "You cannot purchase an AWP when there are less than %i players in the server.", MIN_PLAYERS)
			return PLUGIN_HANDLED
		}

		new CsTeams:iTeam = cs_get_user_team(id)

		if(g_iAWPCount[iTeam] == MAX_AWPS_PER_TEAM)
		{
			client_print(id, print_center, "Your team cannot purchase more than %i AWPs per round.", MAX_AWPS_PER_TEAM)
			return PLUGIN_HANDLED
		}

		g_iAWPCount[iTeam]++
	}

	return PLUGIN_CONTINUE
}
Thank you very kind, if you know of any other complement I will be pending. Can you add me on discord?
jesusaliso is offline
Send a message via Skype™ to jesusaliso
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode