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

Starting weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   EKS (166)
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 02-25-2005 , 19:07   Starting weapons
Reply With Quote #1

REQUIRED MODULES: CSTRIKE, FUN, ENGINE

Two cvars: startingweapons_t and startingweapons_ct.
Define them like this:
startingweapons_t "weapon_famas ammo556nato weapon_knife"
startingweapons_ct "strip weapon_scout ammo_762nato"

...or any other way you like. Just make sure to use quotes around the stuff and delimit each item with a space. Consult the following list
for valid names, and what ammo goes with what gun. If you set the cvars empty, players won't even have a knife.
Note that placing "strip" somewhere among the items will first make a player be stripped off of ALL his weapons. If you don't add "strip"
they will still have knife and glock/usp beside the other stuff you add.

Besides weapons you can also give items like the shield, c4, nvg, etc.

Default stuff for both teams is: "strip weapon_knife weapon_elite ammo_9mm"
Attached Files
File Type: sma Get Plugin or Get Source (starting_weapon.sma - 8163 views - 5.8 KB)
Johnny got his gun is offline
f1del1ty.oXi
Veteran Member
Join Date: Nov 2004
Old 02-25-2005 , 19:23  
Reply With Quote #2

curious but you said c4 can be given. Will it give it to EVERYONE on the T team or what will happen with that?

Awesome plugin BTW Johnny!
__________________
f1del1ty.oXi is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 02-25-2005 , 19:26  
Reply With Quote #3

You can give c4 to anyone... but I don't think ct will be able to plant one anyway. :-)

I took some effort to regive a c4 to the terrorist that spawned with it. Removing it completely wouldn't be that good... hope it works.

I haven't really done a lot of testing with this. :-P
It took 5 mins to create.
Not sure what happens on maps that do their own stripping and weapon giving like scoutzknivez, ka_legoland etc...


Report any problems you might have...
Johnny got his gun is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 02-26-2005 , 05:44  
Reply With Quote #4

0.2 up

Quote:
050226 0.2 Fixed stuff :-) Stripping was probably not working. Now you can also give multiple grenades.
Johnny got his gun is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 09-23-2005 , 03:13  
Reply With Quote #5

would this work if you have your amx_bank plugin? because i always like to have that pisol round with 800 at the beggining, and i want to keep it that way, but using the bank they buy the first round. or maybe modify amx_bank, but i dont know how, so i was wondering if this would fix the problem.
__________________
bmann_420 is offline
BeTa_TeStEr_321
Junior Member
Join Date: Jan 2005
Old 09-23-2005 , 05:11  
Reply With Quote #6

Quote:
Originally Posted by bmann_420
would this work if you have your amx_bank plugin? because i always like to have that pisol round with 800 at the beggining, and i want to keep it that way, but using the bank they buy the first round. or maybe modify amx_bank, but i dont know how, so i was wondering if this would fix the problem.
again dude just change the coding some..
__________________
chronic is god c0der if u read this put it in ur sig
BeTa_TeStEr_321 is offline
Send a message via ICQ to BeTa_TeStEr_321 Send a message via AIM to BeTa_TeStEr_321 Send a message via MSN to BeTa_TeStEr_321 Send a message via Yahoo to BeTa_TeStEr_321
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 09-23-2005 , 15:21  
Reply With Quote #7

Quote:
Originally Posted by BeTa_TeStEr_321
again dude just change the coding some..
When did u tell me before? anyways, i have been too busy to get to know scripting, i know a lil bit, but definitly not enought to do what i want, or i wouldnt have posted obviously.
__________________
bmann_420 is offline
ch3cker
Veteran Member
Join Date: Jun 2005
Location: Deutschland / Baden-Würt
Old 12-06-2005 , 15:13  
Reply With Quote #8

when the round is running 4 seconds and a player is joining the server and he joins a team and can play he become no weapon

what must i change that the player become a weapon ???
__________________
SORRY 4 MY BAD ENGLISH
ch3cker is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 12-06-2005 , 15:27  
Reply With Quote #9

"become a weapon"? not understanding that
__________________
bmann_420 is offline
ch3cker
Veteran Member
Join Date: Jun 2005
Location: Deutschland / Baden-Würt
Old 12-06-2005 , 16:26  
Reply With Quote #10

hmpf sry
i mean get a weapon
__________________
SORRY 4 MY BAD ENGLISH
ch3cker 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 13:32.


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