hlmod.hu
https://hlmod.hu/

Eseskor nincs sebzes
https://hlmod.hu/viewtopic.php?f=29&t=9852
Oldal: 1 / 1

Szerző:  misu88 [2013.08.04. 16:18 ]
Hozzászólás témája:  Eseskor nincs sebzes

Hello. Azt a plugint kerseme hogy eseskor nem sebződik, de olyat ami mukodik.
Sajnos már találtam már, de nem volt jó.

Szerző:  crazy` [2013.08.04. 16:20 ]
Hozzászólás témája:  Re: Eseskor nincs sebzes

teszteld:

SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <hamsandwich>
  3. #include <hlsdk_const>
  4.  
  5. public plugin_init()
  6. {
  7. RegisterHam(Ham_TakeDamage, "player", "fw_ham_damage_pre", 0)
  8. }
  9. public fw_ham_damage_pre(victim, inflictor, attacker, Float:damage, damagebits)
  10. {
  11. if(damagebits & DMG_FALL)
  12. return HAM_SUPERCEDE;
  13. return HAM_IGNORED;
  14. }

Oldal: 1 / 1 Minden időpont UTC+02:00 időzóna szerinti
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/