I want to use the Touch armoury_entity to give players more weapons and grenades.
PHP Code:
RegisterHam(Ham_Touch, "armoury_entity", "Ham_Touch_entity_Pre", 0);
public Ham_Touch_entity_Pre(ient,id)
{
if (id < 1 || id > max_player || (!is_user_alive(id)) || ient <= max_player || (!pev_valid(ient))) return HAM_IGNORED;
static wname[64];
pev(ient,pev_model,wname,63)
//I would like to get more information:
//Weapon's ID, the number of bullets, the number of bullets in the clip within.
//The number of grenades (some maps a model there are three grenades).
//Body armor values
}
Please help me! Thanks!