[Ajuda] ajuda /cnn
#2

GameTextForPlayer > GameTextForAll

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;
}
Reply


Messages In This Thread
ajuda /cnn - by LE4NDrO - 29.08.2014, 14:11
Re: ajuda /cnn - by ViniBorn - 29.08.2014, 14:13
Re: ajuda /cnn - by SeV_ - 29.08.2014, 14:16
Re: ajuda /cnn - by LE4NDrO - 29.08.2014, 14:38

Forum Jump:


Users browsing this thread: 2 Guest(s)