Weird annoying error! HELP
#8

Wrong

pawn Код:
COMMAND:mytime(playerid, params[])
{
    new time;//Time is not an array.
    if(sscanf(params, "i", time)) return SendClientMessage(playerid, -1, "{FF0000}[USAGE]: {FFFFFF}/mytime [Time]");
    if(time > 24 || time < 0) return SendClientMessage(playerid, -1, "{FF0000}[SERVER]: {FFFFFF}Invalid Time! Choose Another!");
    SetPlayerTime(playerid,time,0);
    PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);
    return 1;
}
Reply


Messages In This Thread
Weird annoying error! HELP - by Threshold - 01.12.2012, 06:45
Re: Weird annoying error! HELP - by [MM]RoXoR[FS] - 01.12.2012, 06:59
Re: Weird annoying error! HELP - by Threshold - 01.12.2012, 07:07
Re: Weird annoying error! HELP - by [MM]RoXoR[FS] - 01.12.2012, 07:11
Re: Weird annoying error! HELP - by Threshold - 01.12.2012, 07:14
Re: Weird annoying error! HELP - by [MM]RoXoR[FS] - 01.12.2012, 07:19
Re: Weird annoying error! HELP - by Threshold - 01.12.2012, 07:21
Re: Weird annoying error! HELP - by [MM]RoXoR[FS] - 01.12.2012, 07:27
Re: Weird annoying error! HELP - by Threshold - 01.12.2012, 07:41
Re: Weird annoying error! HELP - by Threshold - 01.12.2012, 07:48

Forum Jump:


Users browsing this thread: 1 Guest(s)