29.08.2014, 14:13
GameTextForPlayer > GameTextForAll
O loop nгo й necessбrio
O loop nгo й necessбrio
pawn Код:
CMD:cnn(playerid, params[])
{
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.");
new texto[128];
if(sscanf(params,"s",texto)) return SendClientMessage(playerid, COR_USOCORRETO, "Uso correto: /cnn [texto]");
new string[128];
format(string, sizeof(string), "~b~%s: ~w~%s",Nome(playerid),texto);
GameTextForAll(string, 5000, 5);
return 1;
}