how to save and load timer?!
#1

HI PEOPLE! how to save and load hospital time??!!

MYSQL R41-2

Код:
public OnPlayerSpawn(playerid)
{
    if(pInfo[playerid][pHospital] == 1)
	{
	    SetPlayerPos(playerid, 164.6683,211.3258,1003.5147);
	    korhaztimer[playerid] = SetTimerEx("exithospital", 60000, true, "d", playerid);
		SetPlayerHealth(playerid,100.0);
		pInfo[ playerid ][ pHospitalTimer ] = 60000;
	    pInfo[ playerid ][ pJatekosInti ] = 6;
	    SetPlayerInterior(playerid, 6);
	    SavePlayer(playerid);
	}

	PlayerDataLoad(playerid);
	return 1;
}
Reply


Messages In This Thread
how to save and load timer?! - by BrnX - 16.09.2017, 09:06
Re: how to save and load timer?! - by Mister0 - 16.09.2017, 09:44
Re: how to save and load timer?! - by BrnX - 16.09.2017, 10:11

Forum Jump:


Users browsing this thread: 1 Guest(s)