27.12.2013, 23:44
pawn Код:
CMD:cv(playerid, params[])
{
new nome[MAX_PLAYER_NAME], string[128], niveladm[22];
if(sscanf(params, "s[128]", params[0]))
return SendClientMessage(playerid, COLOR_GREY, "Use : /cv [texto].");
GetPlayerName(playerid, nome, MAX_PLAYER_NAME);
switch(PlayerInfo[playerid][pAdmin])
{
case 1: niveladm = "Moderador em Teste";
case 2: niveladm = "Moderador";
case 3: niveladm = "Fundador";
}
format(string, sizeof(string), "{FF0000}[%s] {FFFFFF}%s : {066363}%s", niveladm, nome, params[0]);
SendClientMessageToAll(COLOR_RED, string);
return 1;
}