Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def player_death(ev):
- for weapon in playerlib.getPlayer(ev['userid']).getWeaponList():
- for i in es.createentitylist('weapon_%s'% weapon):
- if es.getindexprop(i, 'CBaseEntity.m_hOwnerEntity') == -1:
- es.server.queuecmd('es_xremove %s'%i)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement