View Single Post
Plugin Info:     Modification:          Category:          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 - 8179 views - 5.8 KB)
Johnny got his gun is offline