29.08.2014, 14:16
https://sampwiki.blast.hk/wiki/GameTextForAll
pawn Код:
CMD:cnn(playerid, params[])
{
new Texto[ 128 ], string [ 129 ];
if(PlayerInfo[playerid][pAdministrador] < 1 && PlayerInfo[playerid][pMonitor] < 1 && PlayerInfo[playerid][pFederacao] < 1) return SendClientMessage(playerid,COLOR_RED,"Erro: Vocк nгo tem permissгo para usar este comando.");
if(sscanf(params,"s",texto)) return SendClientMessage(playerid, COR_USOCORRETO, "Uso correto: /cnn [texto]");
format(string, sizeof(string), "~b~%s: ~w~%s",Nome(playerid),texto);
GameTextForAll(string, 5000, 5);
return 1;
}