08.10.2010, 08:33
I know its just what i'm used to i should have used params only
with strlen check.
Like this

Like this
pawn Код:
COMMAND:ask(playerid,params[])
{
if(!strlen(params))return SendClientMessage(playerid,0xff0000ffFF,"Error: Usage /ask [message]");
{
for(new i; i < MAX_PLAYERS;i++)
{
if(!IsPlayerConnected(i) || !IsPlayerAdmin(i))continue;
else
{
format(params,128,"(%d)%s asks: %s?",playerid,playername(playerid),params);
SendClientMessage(i,0x00ff00AA,str);
}
}
}
return 1;
}