17.09.2013, 13:28
Quote:
|
You mean add 2 hp to player's health?
new hp = GetPlayerHealth(playerid); hp += 2; SetPlayerHealth(playerid, hp); |
It's stored to the variable by reference.
pawn Код:
new
Float: hp
;
GetPlayerHealth( playerid, hp );
SetPlayerHealth( playerid, hp + 2 );


