ExecuteHamB, inflictor.
When I create an entity and player is killed it writes : killed with "worldspawn" , why?
My weaponDescription[] for example is 'mega_knife' PHP Code:
|
Re: ExecuteHamB, inflictor.
Because you cant create an entity with a custom classname, so the ent is not created.
Create a info_target, and then alter the classname. Actually you pass Ent == 0 == world. If you need this at different places in your plugin and with different classes you can use this stock : PHP Code:
new Ent = create_custom_entity(weaponDescription); |
Re: ExecuteHamB, inflictor.
You can't use create_entity() with an invalid entity classname.
EDIT: Hi, Connor :) |
Re: ExecuteHamB, inflictor.
Thanks and:
PHP Code:
EDIT: I used your type Connor, same, client's cs freezes. Omg why? |
Re: ExecuteHamB, inflictor.
Probably because you have an infine loop. Dmg_Kill_Player is called from TakeDamage?
|
Re: ExecuteHamB, inflictor.
just edit death_msg if you want custom kill message ( not icon )
|
Re: ExecuteHamB, inflictor.
No Arkshine.
Owyn I don't need it ^^ Btw this Dmg_Kill_Player registered as native ,3-rd parameter is 1 ^_^ I will remove it as native tommorow and try without it, now I go sleep. And yes 'xbatista killed PODBOT[100] with t.mdl' ... I tested now with non-steam, btw I have that model precached, what the hell happens... With non-steam no crash, with steam crashes the client's cs |
Re: ExecuteHamB, inflictor.
Quote:
What happens if you don't remove the custom ent ? (you may create 1 at map start, and alter its classname when you need to use it) Also, try to set pev_owner to attacker, it may help for the death msg. And like arkshine said, to be sure, try also with ExecuteHam and not ExecuteHamB |
Re: ExecuteHamB, inflictor.
@xbatista
You better edit that before yami captures your crab. |
Re: ExecuteHamB, inflictor.
Ok Connor will try.
About non-steam is for testing purpose. |
All times are GMT -4. The time now is 14:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.