04.06.2012, 16:34
pawn Код:
if(iTargetID != INVALID_PLAYER_ID)
{
new text[128], string[128];
if(!sscanf(params, "s[128]", text))
{
format(string, sizeof(string), "He says: %s", text);
SendClientMessage(iTargetID, COLOR_YELLOWGREEN, string);
format(string, sizeof(string), "You said: %s", text);
SendClientMessage(playerid, COLOR_GREEN, string);
return 1;
}
else return SendClientMessage(playerid, COLOR_LIGHTRED, "Usage: /p [Text]");
It should be outside.

