28.02.2012, 19:04
Avisar Otimizadu
pawn Код:
if(!strcmp(cmdtext,"/avisar", 6, true))
{
if(!cmdtext[8] || cmdtext[8] == ' ')
return SendClientMessage(playerid, -1, "/avisar <id>");
static
Av[24],
Av2[24],
Str[128]
;
GetPlayerName(strval(cmdtext[8]), Av, 24); GetPlayerName(playerid, Av2, 24);
format(Str, sizeof(Str),"%s ganhou um aviso de %s", Av, Av2);
SendClientMessage(playerid, -1, Str);
return true;
}