Posts: 33
Threads: 11
Joined: Oct 2007
Reputation:
0
Don't know if this is just with the new 0.3 functions or if this happened in 0.2 as well but I just noticed this. In the pawno editor if you select GetPlayerHealth on the side bar with all the functions it says that the only argument is playerid. However, this is now the case because what you actually need is a player id and a variable to store the health float in.
Posts: 6,129
Threads: 36
Joined: Jan 2009
This was noted a few hours ago. But not listed as a bug, yet.
Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by Lavamike
I haven't done much with GetPlayerHealth in a while but I thought you could also do something like:
pawn Код:
new Float:Health; Health = GetPlayerHealth(playerid);
I remember something like that working in the past but I could be wrong
|
It's makes you define a float variable, otherwise it doesn't work. Yet the syntax in pawno, says to not specify one.