do_deathmsg - Hegrenade bug! :(
When I do do_deathmsg with szWeaponLong = "weapon_hegrenade" instead of bomb icon for deathmsg I get skull icon...
Error log is empty : EDIT: Rest of the code I want to do custom deathmsg with normal icon Code:
if(equali(szWeapon, "grenade"))Code:
public player_diePost(arg[]) |
Re: do_deathmsg - Hegrenade bug! :(
Remove the weapon_.
|
Re: do_deathmsg - Hegrenade bug! :(
Read edit, i forgot to mention that :D
|
Re: do_deathmsg - Hegrenade bug! :(
The weaponname for grenade in DeathMsg is "grenade".
Next time try debugging before posting a thread (make the server output the weapon name in chat). |
Re: do_deathmsg - Hegrenade bug! :(
If I use grenade I don't even get deathmsg on server :/
|
Re: do_deathmsg - Hegrenade bug! :(
What are you trying to do? Can you provide your code?
|
Re: do_deathmsg - Hegrenade bug! :(
I added whole code, can someone please help me? :)
|
Re: do_deathmsg - Hegrenade bug! :(
Why are you converting string to weapon type, and then weapon type to string ???
Also, weapon_hegrenade becomes "hegrenade", and it shoud be "grenade" Same, but don't know if you use it for mp5 and mp5navy |
| All times are GMT -4. The time now is 21:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.