03.09.2011, 01:00
Use simple variables... and CMDS saying SendClientMessageToAll using
GetPlayerName and a string
and you want to save the heal to a varible with
new oldhp[playerid] = GetPlayerHealth(playerid);
when theyy type /back it does
SetPlayerHealth(playerid, oldhp[playerid]);
Seriously give it a go its very simple if you dont try you wont learn
Oldhp must be global (I think)
GetPlayerName and a string
and you want to save the heal to a varible with
new oldhp[playerid] = GetPlayerHealth(playerid);
when theyy type /back it does
SetPlayerHealth(playerid, oldhp[playerid]);
Seriously give it a go its very simple if you dont try you wont learn
Oldhp must be global (I think)