help with saving health /spec
#3

Its a simple saving system

GetPlayerHealth(playerid, OldHealth[playerid]);
SetPlayerHealth(playerid,OldHealth[playerid]);

and asp

Код:
forward ASPUpdate();
public ASPUpdate()
{
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
		if(IsPlayerConnected(i) && PInfo[i][ASP] == 1)
		{
			SetPlayerHealth(i,100000);
		}
	}
}
Reply


Messages In This Thread
help with saving health /spec - by Nabster - 27.02.2015, 11:05
Re: help with saving health /spec - by JaydenJason - 27.02.2015, 11:27
Re: help with saving health /spec - by Nabster - 27.02.2015, 12:58
Re: help with saving health /spec - by Threshold - 27.02.2015, 13:32
Re: help with saving health /spec - by Nabster - 27.02.2015, 14:03

Forum Jump:


Users browsing this thread: 1 Guest(s)