• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Not receiving damage when player fell onto the ground
#3
open up documentation
https://www.open.mp/docs/scripting/funct...eFromPoint
you have
Code:
GetPlayerDistanceFromPoint(playerid, 2.0, 2.0, 2.0, fall_height);
but it should be
Code:
new Float:fall_height = GetPlayerDistanceFromPoint(playerid, 2.0, 2.0, 2.0);

also this code doesnt make sense, cause why you want to find player distance from 2.0, 2.0, 2.0 point?
  Reply


Messages In This Thread
RE: Not receiving damage when player fell onto the ground - by carl_anderson - 2024-05-03, 06:45 PM

Forum Jump: