/tod Command
#3

Quote:
Originally Posted by PaulDinam
Посмотреть сообщение
Well, look up for your current /tod command and place this simple one:

pawn Код:
CMD:tod(playerid, params[])
{
    new string[128], time;
    if(!IsPlayerAdmin(playerid)) return 1;
    if(sscanf(params, "d", time)) return SyntaxMSG(playerid, "/tod [time] (0-23)");
    SetWorldTime(time);
    format(string, sizeof(string), "Time set to %d:00.", time);
    SendClientMessageToAll(-1, string);
    return 1;
}
Looks similar to mine but ill try it.
Reply


Messages In This Thread
/tod Command - by repalone11 - 18.02.2013, 22:07
Re: /tod Command - by PaulDinam - 18.02.2013, 22:23
Re: /tod Command - by repalone11 - 18.02.2013, 22:44
Re: /tod Command - by repalone11 - 18.02.2013, 22:52
Re: /tod Command - by repalone11 - 18.02.2013, 23:07
Re: /tod Command - by Bakr - 18.02.2013, 23:53
Re: /tod Command - by repalone11 - 18.02.2013, 23:53
Re: /tod Command - by repalone11 - 18.02.2013, 23:56
Re: /tod Command - by denNorske - 19.02.2013, 05:54

Forum Jump:


Users browsing this thread: 1 Guest(s)