Errors
#7

I just noticed you missed some points.
pawn Код:
CMD:newb(playerid, params[])
{
    new id;
    if(sscanf(params, "us[129]", id,params)) return SendClientMessage(playerid, red, "USAGE: (/newb)ie [text]");
    if(isnull(params)) return SendClientMessage(playerid, red, "USAGE: (/newb)ie [text]");
    {
        new name[24], string[128];
        GetPlayerName(playerid, name, 24);
        format(string, sizeof string, "** Newbie %s: %s",name,params);
        SendClientMessageToAll(-1, string);
    }
    else
    {
        SetTimer("NoMsg", 50000, false);
        SendClientMessage(playerid, red, "You need to wait 50 seconds to re-post!");
    }
    return 1;
}
Where's the error line?

EDIT: Just read Jatoch post. Yeah that's your problem. My bad.
Reply


Messages In This Thread
Errors - by Alex_Obando - 04.09.2011, 14:34
Re: Errors - by JaTochNietDan - 04.09.2011, 14:38
Re: Errors - by =WoR=Varth - 04.09.2011, 14:40
Re: Errors - by Jack_Leslie - 04.09.2011, 14:41
Respuesta: Errors - by Alex_Obando - 04.09.2011, 14:52
Re: Respuesta: Errors - by JaTochNietDan - 04.09.2011, 14:54
Re: Errors - by =WoR=Varth - 04.09.2011, 14:56
Re: Errors - by Jafet_Macario - 04.09.2011, 15:00
Re: Errors - by =WoR=Varth - 04.09.2011, 15:04
Re: Errors - by JaTochNietDan - 04.09.2011, 15:12

Forum Jump:


Users browsing this thread: 1 Guest(s)