26.12.2013, 01:45
Alright, figured it out.
Correct way:
The reason for this, correct me if I'm wrong, is that functions which return a tag, such as a float, need to be forwarded and tagged.
Correct way:
Код:
forward Float:GetHealth(playerid); public Float:GetHealth(playerid) { new Float:x; GetPlayerHealth(playerid, x); return x; }