Little Help with Time Command.
#2

pawn Код:
dcmd_setworldtime(playerid, params[])
{
    #pragma unused params
    new Level;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            PlayerPlayingTimeHour[i] = Level;
        }
        new string[128];
        format(string, 128, "|- Administrator %s has setted %s hours to all players -|"); // Put here your name variables, etc
        return SendClientMessageToAll(-1, string);
    }
    return 1;
}
Reply


Messages In This Thread
Little Help with Time Command. - by Adarsh007 - 01.11.2014, 08:49
Re: Little Help with Time Command. - by HY - 01.11.2014, 09:11
Re: Little Help with Time Command. - by Adarsh007 - 02.11.2014, 14:15
Re: Little Help with Time Command. - by Quickie - 03.11.2014, 00:25

Forum Jump:


Users browsing this thread: 1 Guest(s)