Hello again xD
I have another one. In my 4fun mod, when you jump (15 meters) you die. How to disable damage off jump? Just give me idea how to write this script ;p Maybe on Callback_PlayerDamage?
Printable View
Hello again xD
I have another one. In my 4fun mod, when you jump (15 meters) you die. How to disable damage off jump? Just give me idea how to write this script ;p Maybe on Callback_PlayerDamage?
Yea, you can just write on top of Callback_PlayerDamage:
PHP Code:
if (sMeansOfDeath == "MOD_FALLING")
return;
Works! Thanks.
setcvar("bg_falldamageminheight", 9998);
setcvar("bg_falldamagemaxheight", 9999);