Re: SAIL - GetMonth

Gotowe kody SAIL'a, informacje na temat moddingu, itd.

Modérateur : zoNE

Benutzeravatar
zoNE
The Great Uniter & Site Administrator
The Great Uniter & Site Administrator
Messages : 2061
Inscription : Fr Feb 17, 2006 3:44 pm
Wohnort : Poland
Contact :

Re: SAIL - GetMonth

Beitrag par zoNE »

Serpent hat geschrieben:Od wersji 2.0.5.0 dostępna jest funkcja która zwraca numer obecnego miesiąca z kalendarza systemowego.

Code: Alles auswählen

GetMonth()
Przykład:

Code: Alles auswählen

if GetMonth = 12 then
display_strings := 'Mamy zimę ale nie ma śniegu :(';
Author: Serpent
Topic: https://forum.original-war.net/viewtopi ... =42&t=4804
Répondre