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

Looking For Weapons Special Round Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mmiicchhaaeell
Member
Join Date: Oct 2020
Old 11-17-2020 , 22:51   Looking For Weapons Special Round Plugin
Reply With Quote #1

Hi everyone, I have been looking all over the place, for a spr, special rounds plugin. Only the admin has access to start special rounds. He enters a cmd and menu comes up, for example:

1.AWP
2.SCOUT
3.DEAGLE
4.SHOTGUN
5.KNIFE
6.ULTIMATE GRENADES
and so on.

and then whichever admin choses, everyone gets the same weapon in that round. For example if he choses knife round, everyone get knives and they can't buy or get any other weapons. it's only knives round. Same applies to any other weapon, the admin chooses. If it's AWP round, it's only awp round and so on. And when admin chooses the special round, everyone can see on the screen with big white letters, for example: Admin: Rambo has started Knife round. or Knife round has begun.. and such. I found couple of those on google, just typing spr or specialround CS 1.6, but they only had amxx file, no .sma so it was no good for me.

Thanks in advance, if anyone can help.

Last edited by Mmiicchhaaeell; 11-17-2020 at 22:54.
Mmiicchhaaeell is offline
ho83
Senior Member
Join Date: Aug 2020
Location: iran
Old 11-18-2020 , 07:04   Re: Looking For Weapons Special Round Plugin
Reply With Quote #2

Hi . I Don't know this is helpful or not But Here :
PHP Code:
//* Plugin generated by AMXX-Studio */

//* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <engine> 
#include <fun>
#include <cstrike>
#include <hamsandwich>

/* credits:
Flicker For Random Pistols
v3x For amxx menu generator
Arkshine For disable buy
zmd94 For Give me The Code by Arkshine
*/

enum _:g_eWeaponData
{
_NameForChat[32],
_WeaponName[32],
_Ammo,
_CSW
}

enum _:g_eWeaponTypes
{
S
}

new const 
g_szSecondary[][g_eWeaponData]=
{
{
"Glock18",     "weapon_glock18",     240,     CSW_GLOCK18},
{
"Usp",     "weapon_usp",        240,     CSW_USP},
{
"P228",     "weapon_p228",        240,     CSW_P228},
{
"Dual Elites""weapon_elite",     240,     CSW_ELITE},
{
"Fiveseven",     "weapon_fiveseven",    240,     CSW_FIVESEVEN},
{
"Deagle",     "weapon_deagle",     240,     CSW_DEAGLE}
}

new 
g_WpnID[g_eWeaponTypes]
new 
EnabledCvar

public plugin_init() {
register_plugin("Special Round""Version""Constentine")
register_clcmd("amx_sprmenu""SprMenuShow")
register_clcmd("say /spr""SprMenuShow")

EnabledCvar register_cvar("amx_enable""1")// Enable/Disable Plugin
}

public 
SprMenuShow(id)
{
if(
get_pcvar_numEnabledCvar ) && get_user_flags(id) & ADMIN_ALL)
{
new 
menu menu_create("Special Round""SprMenuHandler"
menu_additem(menu"Knife round""1"0
menu_additem(menu"grenade+knife round""2"0
menu_additem(menu"shotgun round""3"0
menu_additem(menu"deagle round""4"0
menu_additem(menu"awp round""5"0
menu_additem(menu"random pistul round""6"0
menu_additem(menu"m4a1 round""7"0
menu_additem(menu"ak-47 round""8"0
menu_additem(menu"tmp round""9"0)
menu_additem(menu"scout""10"0)  
menu_additem(menu"Unlimated Grenades round""11"0
menu_setprop(menuMPROP_EXITMEXIT_ALL

menu_display(idmenu0
}
}

public 
SprMenuHandler(idmenuitem)
{
if( 
item == MENU_EXIT )
{
menu_destroy(menu);
return 
PLUGIN_HANDLED;
}
new 
data[6], szName[33]; 
new 
accescallback;
menu_item_getinfo(menuitemaccesdata,charsmax(data), szName,charsmax(szName), callback
new 
key str_to_num(data); 
switch(
key
{
case 
1: { 
hideBuyIcon
strip_user_weapons
(id
give_item(id"weapon_knife")
client_print(0print_chat"Admin Choose Knife Round!")
}
case 
2: {
hideBuyIcon
strip_user_weapons
(id
give_item(id"weapon_knife")
give_item(id"weapon_hegrenade")
give_item(id"weapon_flashbang")
give_item(id"weapon_flashbang")
give_item(id"weapon_smokegrenade")  
client_print(0print_chat"Admin Choose Grenades And Knife Round!")
}
case 
3: {
hideBuyIcon
strip_user_weapons
(id
give_item(id"weapon_m3")
give_item(id"weapon_xm1014")
cs_set_user_bpammo(id,CSW_M3,240)  
cs_set_user_bpammo(id,CSW_XM1014,240
client_print(0print_chat"Admin Choose Shotgun Round!"
}
case 
4: {
hideBuyIcon
strip_user_weapons
(id
give_item(id"weapon_deagle")
cs_set_user_bpammo(id,CSW_DEAGLE,240)  
client_print(0print_chat"Admin Choose Deagle Round!")
}
case 
5: {
hideBuyIcon
strip_user_weapons
(id
give_item(id"weapon_awp")
cs_set_user_bpammo(id,CSW_AWP,240)  
client_print(0print_chat"Admin Choose Awp Round!")
}
case 
6: {
hideBuyIcon
strip_user_weapons
(id
g_WpnID[S] = random_num(1charsmax(g_szSecondary))
give_item(idg_szSecondary[g_WpnID[S]][_WeaponName])
cs_set_user_bpammo(idg_szSecondary[g_WpnID[S]][_CSW], g_szSecondary[g_WpnID[S]][_Ammo])
client_print(0print_chat"Admin Choose Random Pistols Round!")
}
case 
7: {
hideBuyIcon
strip_user_weapons
(id
give_item(id"weapon_m4a1")
cs_set_user_bpammo(id,CSW_M4A1,240)
client_print(0print_chat"Admin Choose M4A1 Round!"
}
case 
8: {
hideBuyIcon
strip_user_weapons
(id
give_item(id"weapon_ak47")
cs_set_user_bpammo(id,CSW_AK47,240
client_print(0print_chat"Admin Choose AK47 Round!")
}
case 
9: {
hideBuyIcon
strip_user_weapons
(id
give_item(id"weapon_tmp")
cs_set_user_bpammo(id,CSW_TMP,240
client_print(0print_chat"Admin Choose Tmp Round!")
}
case 
10: {
hideBuyIcon
strip_user_weapons
(id
give_item(id"weapon_scout")
cs_set_user_bpammo(id,CSW_SCOUT,240
client_print(0print_chat"Admin Choose scout Round!")
}
case 
11: {
hideBuyIcon
strip_user_weapons
(id
give_item(id"weapon_hegrenade")
give_item(id"weapon_flashbang")
give_item(id"weapon_flashbang")
give_item(id"weapon_smokegrenade")
cs_set_user_bpammo(id,CSW_HEGRENADE,240)  
cs_set_user_bpammo(id,CSW_FLASHBANG,240)  
cs_set_user_bpammo(id,CSW_SMOKEGRENADE,240)  
client_print(idprint_chat"Admin Choose Unlimated Grenades Round!")
}
}
menu_destroy(menu);
return 
PLUGIN_HANDLED;


hideBuyIcon()
{
new const 
szClassnameBuy[] = "func_buyzone"
remove_entity_name(szClassnameBuy)
new 
ent create_entity(szClassnameBuy)
entity_set_origin(entFloat:{8192.08192.08192.0})
entity_set_int(entEV_INT_solidSOLID_NOT)

plugin From :Eviatar Mor
I just add Scout For You.

Last edited by ho83; 11-18-2020 at 07:34.
ho83 is offline
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 11-18-2020 , 12:44   Re: Looking For Weapons Special Round Plugin
Reply With Quote #3

why did you open another thread?
tarsisd2 is offline
Mmiicchhaaeell
Member
Join Date: Oct 2020
Old 11-18-2020 , 22:43   Re: Looking For Weapons Special Round Plugin
Reply With Quote #4

Because I was advised to.. That thread was about the plugin, someone else posted and called special rounds, which turned out to be not quite what it was named. That thread was about making the plugin work vs this one looking for the right plugin, but still can not find it, so go figure..
Mmiicchhaaeell is offline
Reply


Thread Tools
Display Modes

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 09:36.


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