[Include] Days [BETA]
#8

Quote:
Originally Posted by Badarau
Посмотреть сообщение
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.
Those errors are your code problem, and

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;
}
It DOES return a value, and it seems to work for my gamemode.

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.
Reply


Messages In This Thread
Days [BETA] - by CreativityLacker - 15.05.2013, 08:35
Re: Days [BETA] - by CreativityLacker - 15.05.2013, 09:32
Re: Days [BETA] - by CreativityLacker - 15.05.2013, 11:55
Re: Days [BETA] - by Dzines4SAMP - 15.05.2013, 12:07
Re: Days [BETA] - by CreativityLacker - 15.05.2013, 13:31
Re: Days [BETA] - by steki. - 15.05.2013, 13:41
Re: Days [BETA] - by Badarau - 22.05.2013, 17:28
Re: Days [BETA] - by CreativityLacker - 22.05.2013, 18:16
Re: Days [BETA] - by Badarau - 23.05.2013, 07:55
Re: Days [BETA] - by Kiweeh - 23.05.2013, 13:09
Re: Days [BETA] - by Dragony92 - 26.05.2013, 13:19
Re: Days [BETA] - by CreativityLacker - 26.05.2013, 16:57
Re: Days [BETA] - by Dragony92 - 26.05.2013, 20:51

Forum Jump:


Users browsing this thread: 2 Guest(s)