View Single Post
farawayf
Senior Member
Join Date: Jan 2019
Old 03-05-2021 , 09:07   Re: Total weapons count on the map
Reply With Quote #3

if you want to get weapons created by map itself, check on loop "i = 65, i < 2048" if entity classname contains weapon_ then try getting its prop m_iHammerID. if value is bigger than 0, then for sure it created by map.

Last edited by farawayf; 03-05-2021 at 09:08.
farawayf is offline