Errors
#5

pawn Код:
CMD:newb(playerid, params[])
{
    new id;
    if(sscanf(params, "u", id)) return SendClientMessage(playerid, red, "USAGE: (/newb)ie [text]");
    if(!strlen(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;
}
[pawn]//Im getting the same problem (Asumed to cero)
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)