27.11.2012, 16:41
pawn Код:
CMD:av(playerid, params[])
{
new msg[128];
GetPlayerName(playerid, Name,sizeof(Name));
if(PlayerInfo[playerid][pAdmin] < 1)
return SendClientMessage(playerid, -1, "[x] Vocк nгo e administrador!");
if(Logado[playerid] == 0)
return SendClientMessage(playerid, -1, "[x] Vocк nгo esta logado coretamente!");
if(isnull(params))
return SendClientMessage(playerid, -1, "[x] /av < Mensagen > ");
format(msg, sizeof(msg), "Admin %s: %s", Name, params);
SendClientMessageToAll(0x0066FFAA, msg);
return 1;
}