Complete Example Scripts: Difference between revisions

m
imported>JustinOther
imported>JustinOther
Line 757: Line 757:
If bEnableStuff != (fTime > fHourToEnable && fTime < fHourToDisable)
If bEnableStuff != (fTime > fHourToEnable && fTime < fHourToDisable)
bEnableStuff = !bEnableStuff
bEnableStuff = !bEnableStuff
If bEnableStuff && GetDayOfWeek() == 5 ; Turdas
If bEnableStuff && GetDayOfWeek() == 5 ; Fredas
kYourObject.Enable()
kYourObject.Enable()
Else
Else
Anonymous user