Thread
:
Best way to block vehicle kills
View Single Post
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
07-31-2014 , 19:12 Re: Best way to block vehicle kills
#
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!
__________________
Shop Menu -
https://forums.alliedmods.net/showthread.php?t=237948
Snipers Menu -
https://forums.alliedmods.net/showthread.php?t=240524
Take a look here! Random Weapons Mod! -
https://forums.alliedmods.net/showthread.php?t=240875
Waiting for an approver on these
Flick3rR
View Public Profile
Send a private message to Flick3rR
Find More Posts by Flick3rR