22.05.2013, 18:16
Quote:
How i see in-game what day it is?
And about : Give me that errors: ....: error 029: invalid expression, assumed zero .... : error 017: undefined symbol "x" ... : warning 215: expression has no effect ... : warning 209: function "GetDay" should return a value ... : error 021: symbol already defined: "main" A command like /calendar ...would be useful... ( if you have time,can tell me how to do that please? ) Question:After that , the time is 1 minute=60 seconds,i want to be 1 minute=1 second ,what i have to change? I'm begginer,so i ask what i don't understand,i hope that don't upset you. |
for @Function "GetDay" should return a value, I just checked, here's the function
pawn Код:
stock GetDay(day, month, year)
{
if (month < 3)
{
month += 12;
year--;
}
return ((13*month+3)/5 + day + year + year/4 - year/100 + year/400) % 7;
}
Rest are your personal errors.
And how to make calendar, I have no idea, I don't know if the standard way
is possible in SA-MP.