TOD not working [++REP]
#1

Hello friends this cmd is not working why please help me
pawn Код:
CMD:tod(playerid, params[])
{
    if (PlayerInfo[playerid][pAdmin] >= 1337)
    {
        new string[128], time;
        if(sscanf(params, "d", time)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /tod [time] (0-23)");

        SetWorldTime(time);
        gTime = time;
        format(string, sizeof(string), "Time set to %d:00.", time);
        BroadCast(COLOR_GRAD1, string);
    }
    else
    {
        SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!");
    }
    return 1;
}
Reply


Messages In This Thread
TOD not working [++REP] - by varuncoolrule - 24.02.2012, 13:49
Re: TOD not working [++REP] - by varuncoolrule - 24.02.2012, 14:06
Re: TOD not working [++REP] - by Twisted_Insane - 24.02.2012, 14:57
Re: TOD not working [++REP] - by Kaperstone - 24.02.2012, 15:01
Re: TOD not working [++REP] - by Twisted_Insane - 24.02.2012, 15:04
Re: TOD not working [++REP] - by TheTale - 24.02.2012, 15:44
Re: TOD not working [++REP] - by TheTale - 24.02.2012, 15:46
Re: TOD not working [++REP] - by varuncoolrule - 25.02.2012, 06:29
Re: TOD not working [++REP] - by varuncoolrule - 25.02.2012, 09:18
Re: TOD not working [++REP] - by DRIFT_HUNTER - 25.02.2012, 09:56

Forum Jump:


Users browsing this thread: 1 Guest(s)