Aschbourne_PRC8/_module/nss/temps_sauv.nss
Jaysyn904 f5ffe7d0b9 Module commit
Module commit.
2024-06-14 10:48:20 -04:00

16 lines
504 B
Plaintext

//::///////////////////////////////////////////////
//:: Temps persistant
//:: Par Zyzko
//:://////////////////////////////////////////////
void main()
{
// Met a jour le nouveau temps
// Update time in the database
object oMod=GetModule();
SetCampaignInt("Dates","TIMEHOUR",GetTimeHour(),oMod);
SetCampaignInt("Dates","TIMEDAY",GetCalendarDay(),oMod);
SetCampaignInt("Dates","TIMEMONTH",GetCalendarMonth(),oMod);
SetCampaignInt("Dates","TIMEYEAR",GetCalendarYear(),oMod);
}