16.09.2017, 09:06
HI PEOPLE! how to save and load hospital time??!!
MYSQL R41-2
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; }