minor fix from karlos
This commit is contained in:
parent
0b2eae8e0a
commit
e15c151167
|
@ -25,7 +25,7 @@ stock fakedamage(idvictim,szClassname[],Float:takedmgdamage,damagetype)
|
||||||
format(szDamage,15,"%i",damagetype)
|
format(szDamage,15,"%i",damagetype)
|
||||||
DispatchKeyValue(entity,"damagetype",szDamage)
|
DispatchKeyValue(entity,"damagetype",szDamage)
|
||||||
DispatchKeyValue(entity,"origin","8192 8192 8192")
|
DispatchKeyValue(entity,"origin","8192 8192 8192")
|
||||||
spawn(entity)
|
DispatchSpawn(entity)
|
||||||
entity_set_string(entity, EV_SZ_classname, szClassname)
|
entity_set_string(entity, EV_SZ_classname, szClassname)
|
||||||
fake_touch(entity,idvictim)
|
fake_touch(entity,idvictim)
|
||||||
remove_entity(entity)
|
remove_entity(entity)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user