When I create an entity and player is killed it writes : killed with "worldspawn" , why?
My weaponDescription[] for example is 'mega_knife'
PHP Code:
public Dmg_Kill_Player(id, attacker, Float:damage, weaponDescription[])
{
if( is_user_alive(attacker) )
{
new Ent = create_entity(weaponDescription);
ExecuteHamB( Ham_TakeDamage, id, Ent, attacker, damage, DMG_GENERIC );
remove_entity(Ent);
}
}
__________________