View Single Post
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 12-16-2019 , 02:33   Re: ld4/2 weapon coordinates
Reply With Quote #2

Perhaps, the same as with our Can Ignite plugin, raise bool flag when you use !drop (via AddCommandListener or drop plugin's global forward), and wait for new entity in OnEntityCreated() with the appropriate class name on SDKHook_SpawnPost.
Aftet that, use m_vecOrigin prop.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 12-16-2019 at 02:33.
Dragokas is offline