Date not working
#5

Like this

pawn Код:
new Year, Month, Day;
    getdate(Year, Month, Day);
    {
        new ActualDay;
        PlayerInfo[playerb][pIDay] = ActualDay;
        PlayerInfo[playerb][pIMonth] = Month;
        PlayerInfo[playerb][pIDay] = Day;
        PlayerInfo[playerb][pIMonth] = Month;
                PlayerInfo[playerb][pYear] = Year; // Add this enum
    }
pawn Код:
format(string, sizeof(string), "%s's statistics on American Roleplay - [%d/%d/%d]", RPN(playerb), PlayerInfo[playerid][pIMonth], PlayerInfo[playerid][pIDay], PlayerInfo[playerid][pYear]);
    SendClientMessage(playerid, COLOR_ORANGE, string);
Reply


Messages In This Thread
Date not working - by MichaelWharton101 - 05.04.2013, 14:11
Re: Date not working - by MichaelWharton101 - 05.04.2013, 19:01
Re: Date not working - by L.Hudson - 05.04.2013, 19:27
Re: Date not working - by MichaelWharton101 - 05.04.2013, 19:28
Re: Date not working - by L.Hudson - 05.04.2013, 20:06

Forum Jump:


Users browsing this thread: 1 Guest(s)