04.09.2011, 14:56
I just noticed you missed some points.
Where's the error line?
EDIT: Just read Jatoch post. Yeah that's your problem. My bad.
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;
}
EDIT: Just read Jatoch post. Yeah that's your problem. My bad.

