View Single Post
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 07-31-2014 , 19:12   Re: Best way to block vehicle kills
Reply With Quote #6

Okay, but what's the best way to get entity's index from DeathMsg message? What does exactly read_data(4) or in this case get_msg_arg_string(4) return - is the string classname, or what, and how to get entity index from that string? FindEntityBy_ what?
Plus, where exactly to set pev_dmg to 0 to prevent making eny damage, do I have to do it directly in the message hook?
Thanks!
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR