 |
|
Veteran Member
|

02-14-2007
, 12:09
Re: TFC Weapons
|
#15
|
Quote:
Originally Posted by SAMURAI16
Code:
public fnSayNeedRocket(id) {
give_item(id, "tf_weapon_rpg")
tfc_setbammo(id, TFC_AMMO_ROCKETS,25)
client_cmd(id, "tf_weapon_rpg")
}
Vs
Code:
public fnSayNeedRocket(id)
{
new args[20]
read_args(args,19)
if(equali(args,"needrocket",10))
{
give_item(id, "tf_weapon_rpg")
tfc_setbammo(id, TFC_AMMO_ROCKETS,25)
client_cmd(id, "tf_weapon_rpg")
}
}
And of course:
Code:
register_clcmd("say needrocket","fnSayNeedRocket")
with:
Code:
register_clcmd("say","fnSayNeedRocket")
And "amxmisc" it's not necessary on your plugin
|
No.
__________________
Quote:
Originally Posted by phorelyph
your retatred
|
|
|
|
|