Half-Life и Adrenaline Gamer форум
http://aghl.ru/forum/

HL Weapons Information
http://aghl.ru/forum/viewtopic.php?f=12&t=2784
Страница 1 из 1

Автор:  abdobiskra [ 04 окт 2017, 01:25 ]
Заголовок сообщения:  HL Weapons Information

Hi
is there info for weapon HL similar like this in CS ?
https://wiki.alliedmods.net/CS_Weapons_Information

Автор:  Glaster [ 12 июн 2021, 19:43 ]
Заголовок сообщения:  Re: HL Weapons Information

I did not find similar table for HL weapons, but....

1) If you need IDs of weapons, you can use this plugin
Код:
#include <amxmodx>
#define PLUGIN "Weaponlist for weaponboxes"
#define VERSION "1.0"         
#define AUTHOR "Glaster"

public plugin_init() {             
register_plugin(PLUGIN, VERSION, AUTHOR);
register_clcmd("wlist","wlist");
}                     
public wlist(id){
for (new i=1; i<31;i++){
new name[32];
get_weaponname(i, name, 31 );
console_print(id,name,"",i);         
}                                                                           
}           



position in "top" of weapons is weapon's ID

2) If you need classnames of weapon/ammo entitys, you can find it here: https://developer.valvesoftware.com/wik ... e_entities

Страница 1 из 1 Часовой пояс: UTC + 5 часов [ Летнее время ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/