What;s a better way to do this?
#6

Also, instead of this:

pawn Код:
stock TranslateMonth(playerid)
    {
        new s[4], m;
        m = Player[playerid][bMonthNumber];

        if(m == 1)format(s, sizeof(s), "January");
        if(m == 2)format(s, sizeof(s), "February");
        return 1;
    }
Can it be put into an array and done that way rather than a stock? if so can you provide evidence
Reply


Messages In This Thread
What;s a better way to do this? - by sammp - 14.07.2014, 20:18
Re: What;s a better way to do this? - by Emmet_ - 14.07.2014, 20:25
Re: What;s a better way to do this? - by Patrick - 14.07.2014, 20:26
Re: What;s a better way to do this? - by sammp - 14.07.2014, 20:44
Re: What;s a better way to do this? - by Patrick - 14.07.2014, 20:45
Re: What;s a better way to do this? - by sammp - 14.07.2014, 20:50
Re: What;s a better way to do this? - by Hirsw0w - 14.07.2014, 22:16
Re: What;s a better way to do this? - by Jefff - 14.07.2014, 22:25
Re: What;s a better way to do this? - by Virtual1ty - 14.07.2014, 22:41
Re: What;s a better way to do this? - by sammp - 14.07.2014, 22:51

Forum Jump:


Users browsing this thread: 2 Guest(s)