27.02.2015, 12:58
Its a simple saving system
GetPlayerHealth(playerid, OldHealth[playerid]);
SetPlayerHealth(playerid,OldHealth[playerid]);
and asp
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); } } }