Hi,
I would like to know (it's probably a hard one...), is it possible to get the weapons spawned by the map itself?
I will explain... for example on aim_ak-colt (cstrike) or awp_map (cstrike) or even deathrun maps (cstrike), there are weapons the user can pick, which are part of the map.
For example on aim_* maps user is spawned near these, buy is restricted an he can pick them...
I was wondering, is there a way to know, for example into hook of CBaseEntity::Touch() (I use this so I can detect weapon pickups and get both player ids and weapon ids), if the picked weapon is actually an item spawned by the map?
Something like...
Code:
OnTouchWeapon(id, weaponid)
{
if (isWeaponFromMap(entity_of_weapon_or_something))
bla bla bla
}
Get the idea? Is that possible?
Please help, greatly appreciated!
Thanks!
Cordially,
Misery