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

special round


Post New Thread Reply   
 
Thread Tools Display Modes
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 03-31-2015 , 16:39   Re: special round
Reply With Quote #31

Quote:
Originally Posted by ashwink7 View Post
I never claimed that he stole my code all i said was that this was my plugin i released it first so i just told him that if he releases any furder versions of it he should ask me or consult me for the same
Unless your idea is copyrighted, he doesn't have to consult with you for shit. This is an open source community that shares ideas on purpose.
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
tousif
AlliedModders Donor
Join Date: Nov 2014
Location: India
Old 04-02-2015 , 01:34   Re: special round
Reply With Quote #32

Quote:
Originally Posted by ashwink7 View Post
I never claimed that he stole my code all i said was that this was my plugin i released it first so i just told him that if he releases any furder versions of it he should ask me or consult me for the same
o ya why should he consult u ? U just showed 1 image, that doesnt prove any thing.

Last edited by tousif; 04-02-2015 at 01:38.
tousif is offline
Klatypaus
Member
Join Date: Jan 2015
Old 05-02-2015 , 17:24   Re: special round
Reply With Quote #33

Quote:
Originally Posted by Eviatar Mor View Post
i put only -

PHP Code:
/* Plugin generated by AMXX-Studio */

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

/* credits:
Flicker For Random Pistols
v3x For amxx menu generator
Arkshine For disable buy
zmd94 For Give me The Code by Arkshine
Exolent[jNr] for random colors
*/

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""ConstentinoN")
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"Unlimated Grenades round""10"0
menu_setprop(menuMPROP_EXITMEXIT_ALL

menu_display(idmenu0
}
}

public 
SprMenuHandler(idclientmenuitem)
{
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(client
give_item(client"weapon_knife")
client_print(0print_chat"[SPR] Admin Choose Knife Round!")
}
case 
2: {
hideBuyIcon
strip_user_weapons
(client
give_item(client"weapon_knife")
give_item(client"weapon_hegrenade")
give_item(client"weapon_flashbang")
give_item(client"weapon_flashbang")
give_item(client"weapon_smokegrenade")  
client_print(0print_chat"[SPR] Admin Choose Grenades And Knife Round!")
}
case 
3: {
hideBuyIcon
strip_user_weapons
(client
give_item(client"weapon_m3")
give_item(client"weapon_xm1014")
cs_set_user_bpammo(client,CSW_M3,240)  
cs_set_user_bpammo(client,CSW_XM1014,240
client_print(0print_chat"[SPR] Admin Choose Shotgun Round!"
}
case 
4: {
hideBuyIcon
strip_user_weapons
(client
give_item(client"weapon_deagle")
cs_set_user_bpammo(client,CSW_DEAGLE,240)  
client_print(0print_chat"[SPR] Admin Choose Deagle Round!")
}
case 
5: {
hideBuyIcon
strip_user_weapons
(client
give_item(client"weapon_awp")
cs_set_user_bpammo(client,CSW_AWP,240)  
client_print(0print_chat"[SPR] Admin Choose Awp Round!")
}
case 
6: {
hideBuyIcon
strip_user_weapons
(client
g_WpnID[S] = random_num(1charsmax(g_szSecondary))
give_item(clientg_szSecondary[g_WpnID[S]][_WeaponName])
cs_set_user_bpammo(clientg_szSecondary[g_WpnID[S]][_CSW], g_szSecondary[g_WpnID[S]][_Ammo])
client_print(0print_chat"[SPR] Admin Choose Random Pistols Round!")
}
case 
7: {
hideBuyIcon
strip_user_weapons
(client
give_item(client"weapon_m4a1")
cs_set_user_bpammo(client,CSW_M4A1,240)
client_print(0print_chat"[SPR] Admin Choose M4A1 Round!"
}
case 
8: {
hideBuyIcon
strip_user_weapons
(client
give_item(client"weapon_ak47")
cs_set_user_bpammo(client,CSW_AK47,240
client_print(0print_chat"[SPR] Admin Choose AK47 Round!")
}
case 
9: {
hideBuyIcon
strip_user_weapons
(client
give_item(client"weapon_tmp")
cs_set_user_bpammo(client,CSW_TMP,240
client_print(0print_chat"[SPR] Admin Choose Tmp Round!")
}
case 
10: {
hideBuyIcon
strip_user_weapons
(client
give_item(client"weapon_hegrenade")
give_item(client"weapon_flashbang")
give_item(client"weapon_flashbang")
give_item(client"weapon_smokegrenade")
cs_set_user_bpammo(client,CSW_HEGRENADE,240)  
cs_set_user_bpammo(client,CSW_FLASHBANG,240)  
cs_set_user_bpammo(client,CSW_SMOKEGRENADE,240)  
client_print(0print_chat"[SPR] Admin Choose Unlimated Grenades Round!")
}
}
set_dhudmessage(random(256), random(256), random(256))
show_dhudmessage(client"Liveee^nPlay Hard, Go Pro")
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)

Not working, no menu comes up, but plugin runs successfully, Please check the problem
Klatypaus is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 05-03-2015 , 00:08   Re: special round
Reply With Quote #34

Just use below plugin:

https://forums.alliedmods.net/showthread.php?t=244579
zmd94 is offline
Klatypaus
Member
Join Date: Jan 2015
Old 05-03-2015 , 02:08   Re: special round
Reply With Quote #35

Quote:
Originally Posted by zmd94 View Post
This too complicated to handle, the /spr is very simple is easy to handle ;not much cvars
Klatypaus is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 05-03-2015 , 02:12   Re: special round
Reply With Quote #36

No need to change the cvars if you are not sure how to edit. Just follow the installation procedures.
zmd94 is offline
shehzad1234
BANNED
Join Date: Jan 2016
Location: https://t.me/pump_upp
Old 01-22-2016 , 04:03   Re: special round
Reply With Quote #37

Special round amxx

type /spr
Blocked Attachments
File Type: amxx specialround.amxx
shehzad1234 is offline
Send a message via ICQ to shehzad1234 Send a message via AIM to shehzad1234 Send a message via Yahoo to shehzad1234
Shockyboy
Senior Member
Join Date: Apr 2014
Location: Earth
Old 01-24-2016 , 06:32   Re: special round
Reply With Quote #38

Quote:
Originally Posted by zmd94 View Post
No need to change the cvars if you are not sure how to edit. Just follow the installation procedures.
cs_core isnt there in API Section.
__________________


[ LEARNING SCRIPTING ]
[ ||||||||||||] [ 30% ]
Shockyboy is offline
Old 01-08-2017, 05:13
instinctpt1
This message has been deleted by instinctpt1.
Old 10-23-2019, 06:48
Abdulrazzaq
This message has been deleted by Abdulrazzaq.
Mmiicchhaaeell
Member
Join Date: Oct 2020
Old 11-14-2020 , 00:53   Re: special round
Reply With Quote #39

"ADMIN_ALL" not working. Plugin is there but, when I enter cmd for menu, it is not working... menu doesnt show up.
Mmiicchhaaeell is offline
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 11-14-2020 , 03:21   Re: special round
Reply With Quote #40

Quote:
Originally Posted by ashwink7 View Post
This is my plugin iam the original author of this plugin since this was private plugin i did not release it in allied modders so before posting any further versions of this plugin you have to ask me or consult me about the same i can give proofs also
first of all, amxmodx and its plugins are open source under GPLv3 license, no one should provide any plugin without source and if you do, you don`t have any legal rights under it, since it`s not your project

second shehzad1234 you should know that amxx. files are not allowed in here right?

Last edited by tarsisd2; 11-14-2020 at 03:23.
tarsisd2 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 00:53.


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