start gun

start gun

Hammer Mapping — Page [1]
luke

2006 Aug 29 • 112
16 ₧
how can i get it so when you spawn you start with a certain gun???
 
 
 
2006 Sep 7 at 23:11 UTC
SuperJer
Websiteman

2005 Mar 21 • 6663
Use game_player_equip

One in the map with no name will set the starting weapons for everyone (in theory)

They can also be named and triggered (in theory)
 
 
 
2006 Sep 8 at 07:44 UTC
luke

2006 Aug 29 • 112
16 ₧
ok thanks
 
 
 
2006 Sep 8 at 11:21 UTC
Troi

2006 Sep 11 • 115
16 ₧
1.Also you can use ARMOURY_ENTITY and drop it on player spawn, so when player spawns he "automaticaly" =D takes the weapon (fall on it)
2.You can make AMX plugin for giving weapons code like that:
First you must include fun module, then register the command:

#include <amxmodx>
#include <amxmisc>
#include <fun>

#define PLUGIN "Weapon equip"
#define VERSION "1.0"
#define AUTHOR "GetH!X"


public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("equip_me", "giveWeapon",
ADMIN_CFG, "- equips")
}
public giveWeapon(id) {
give_item(id, "wepon_usp")
give_item(id, "wepon_awp")

}

So when you type in console "equip_me" you will be equiped AWP and USP, you also can register an event, so when freeze time out you will be automaticaly equiped the weapons... =]
I want to make a HL mod! Doing everythig with HL except coding C++ | its not interesting to work alone
 
 
 
2006 Sep 11 at 10:12 UTC
EVIL
2006 Mar 1 • 74
22 ₧
hahah! lol start talking about amx here i dont think anyone in here is that good with it exept me and you and some more :P
 
 
 
2006 Sep 12 at 15:18 UTC
Troi

2006 Sep 11 • 115
16 ₧
Are you good in programing AMX??? =]
I want to make a HL mod! Doing everythig with HL except coding C++ | its not interesting to work alone
 
 
 
2006 Sep 12 at 21:26 UTC
Page [1]