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

Weapon Chance by Exolent


Post New Thread Reply   
 
Thread Tools Display Modes
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-11-2008 , 16:29   Re: Weapon Chance
Reply With Quote #21

Updated to v1.5!

What's new?

Code:
Better code! :D
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Marqioz
Member
Join Date: Apr 2008
Location: Denmark
Old 07-16-2008 , 05:05   Re: Weapon Chance
Reply With Quote #22

Hey X-olent

Nice plugin

But i cant download "The Plugin" will you fix that?

Thanks
Marqioz is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-16-2008 , 16:08   Re: Weapon Chance
Reply With Quote #23

Can a moderator attach a compiled .amxx version?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 07-16-2008 , 16:19   Re: Weapon Chance
Reply With Quote #24

Done.

Attachment ID: 28907
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Marqioz
Member
Join Date: Apr 2008
Location: Denmark
Old 07-18-2008 , 07:28   Re: Weapon Chance
Reply With Quote #25

Hey Again

I got the .ammx file and .sma but nothings happen in my dedicated server

.amxx file into Addons/amxmodx/Plugins folder

.sma file into Addons/amxmodx/scripting folder

Placing "weapon_chance.amxx" and "weapon_chance.amxx debug" in plugins.ini at Addons/amxmodx/configs/plugins.ini

and placed the cvars in amxx.cfg (They are changed but does it do something)?

CVARs:

Admin Commands:
-------------------
wc_list
-- shows a list of all weapon names
-- requires amx_cvar flag "g"

Cvars:
-------------------
wc_on <1>
-- is weapon chance enabled?
-- 0=OFF
-- 1=ON

wc_weaponcount <3>
-- number of random weapons player can receive

wc_announce <1>
-- announce to everyone when a player receives a weapon
-- 0=DONT ANNOUNCE
-- 1=ANNOUNCE

wc_<fiveseven>_team <0>
-- team that the weapon should be give to
-- 0=EVERYONE
-- 1=TERRORIST
-- 2=COUNTER-TERRORIST

wc_<fiveseven>_chance <20>
-- <weapon> is any weapon name listed above
-- <percentage> is a number between 0 and 100 for a player to get the weapon
-- -- a higher number makes it more likely to get the weapon

wc_<fiveseven>_clip <2>
-- <weapon> is any weapon name listed above
-- <clip> is the amount of ammo in the weapon's clip

wc_<fiveseven>_ammo <0>
-- <weapon> is any weapon name listed above
-- <ammo> is the amount of ammo in the weapon's backpack ammo

wc_<awp>_team <0>
-- team that the weapon should be give to
-- 0=EVERYONE
-- 1=TERRORIST
-- 2=COUNTER-TERRORIST

wc_<awp>_chance <1>
-- <weapon> is any weapon name listed above
-- <percentage> is a number between 0 and 100 for a player to get the weapon
-- -- a higher number makes it more likely to get the weapon

wc_<awp>_clip <1>
-- <weapon> is any weapon name listed above
-- <clip> is the amount of ammo in the weapon's clip

wc_<awp>_ammo <0>
-- <weapon> is any weapon name listed above
-- <ammo> is the amount of ammo in the weapon's backpack ammo

wc_<deagle>_team <2>
-- team that the weapon should be give to
-- 0=EVERYONE
-- 1=TERRORIST
-- 2=COUNTER-TERRORIST

wc_<deagle>_chance <7>
-- <weapon> is any weapon name listed above
-- <percentage> is a number between 0 and 100 for a player to get the weapon
-- -- a higher number makes it more likely to get the weapon

wc_<deagle>_clip <1>
-- <weapon> is any weapon name listed above
-- <clip> is the amount of ammo in the weapon's clip

wc_<deagle>_ammo <0>
-- <weapon> is any weapon name listed above
-- <ammo> is the amount of ammo in the weapon's backpack ammo

wc_<deagle>_team <1>
-- team that the weapon should be give to
-- 0=EVERYONE
-- 1=TERRORIST
-- 2=COUNTER-TERRORIST

wc_<deagle>_chance <14>
-- <weapon> is any weapon name listed above
-- <percentage> is a number between 0 and 100 for a player to get the weapon
-- -- a higher number makes it more likely to get the weapon

wc_<deagle>_clip <1>
-- <weapon> is any weapon name listed above
-- <clip> is the amount of ammo in the weapon's clip

wc_<deagle>_ammo <0>
-- <weapon> is any weapon name listed above
-- <ammo> is the amount of ammo in the weapon's backpack ammo

Is there anything that stop the plugin?
Marqioz is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-18-2008 , 09:21   Re: Weapon Chance
Reply With Quote #26

remove the "<" and the ">" from the cvars
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
noobkake
Member
Join Date: Jul 2008
Old 07-18-2008 , 18:31   Re: Weapon Chance
Reply With Quote #27

When i use it my nades dissapiers as a terrorist , and the knife as a counter terrorist.


My Plugins ;
blockmaker_v3.51.amxx
hns3.amxx

whats wrong?
__________________

noobkake is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-18-2008 , 19:01   Re: Weapon Chance
Reply With Quote #28

Let me see your cvars that you used.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Old 07-19-2008, 07:45
noobkake
This message has been deleted by Greentryst. Reason: RTFM
Marqioz
Member
Join Date: Apr 2008
Location: Denmark
Old 07-19-2008 , 07:48   Re: Weapon Chance
Reply With Quote #29

Okay thanks i will try to remove "<" and ">"
Marqioz is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-20-2008 , 16:57   Re: Weapon Chance
Reply With Quote #30

Quote:
Originally Posted by noobkake View Post
whats cvar?
http://en.wikipedia.org/wiki/CVAR

On the main post, there is a section called "Cvars".
Show me how u used those.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
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 17:38.


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