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

Starting weapons


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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 - 8180 views - 5.8 KB)
Johnny got his gun is offline
 



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 12:29.


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