Re: SAIL - GetMonth

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

Modérateur : zoNE

Avatar de l’utilisateur
zoNE
The Great Uniter & Site Administrator
The Great Uniter & Site Administrator
Messages : 2061
Inscription : ven. févr. 17, 2006 3:44 pm
Localisation : Poland
Contact :

Re: SAIL - GetMonth

Message par zoNE »

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

Code : Tout sélectionner

GetMonth()
Przykład:

Code : Tout sélectionner

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