[Ajuda] GameTextForAll
#3

PHP код:
if(strcmp(cmd"/cnn"true) == 0)
{
    new 
aname[MAX_PLAYER_NAME];
    
GetPlayerName(playeridanameMAX_PLAYER_NAME);
    
format(filesizeof(file), PASTA_CONTASaname);
    if(
pAdmin[playerid] == || pAdmin[playerid] == || pAdmin[playerid] == || pAdmin[playerid] == || pAdmin[playerid] == 5){
    new 
trampo[256];
    
strmid(trampo,cmdtext,4,strlen(cmdtext));
    if (!
strlen(trampo))
    {
        
SendClientMessage(playeridERRO_L"| ERRO | Digite: /cnn [texto]");
        return 
1;
    }
    if(
IsPlayerConnected(playerid))
    {
        if(
pAdmin[playerid] == || pAdmin[playerid] == || pAdmin[playerid] == || pAdmin[playerid] == || pAdmin[playerid] == 5){
        
format(stringsizeof(string), "~r~# ~w~%s ~r~#"trampo);
        
GameTextForAll(string50005);
    }else{
        
SendClientMessage(playeridERRO_L"| ERRO | Comando invбlido!");
    }
    }else{
        
SendClientMessage(playeridERRO_L"| ERRO | Vocк tem que estar logado para usar este comando!");
    }
        return 
1;
    }

Testa aн, mas acho que esse da print como vocк quer й feito em TextDraw, aн й mais trabalho..
Reply


Messages In This Thread
GameTextForAll - by DeusGrego - 07.12.2017, 00:58
Re: GameTextForAll - by Whoo - 07.12.2017, 01:04
Re: GameTextForAll - by WalterSantos - 07.12.2017, 17:23
Re: GameTextForAll - by DeusGrego - 07.12.2017, 17:27
Re: GameTextForAll - by Gguiz - 07.12.2017, 18:06
Re: GameTextForAll - by SnowBorn - 07.12.2017, 18:10
Re: GameTextForAll - by PT - 07.12.2017, 18:20
Re: GameTextForAll - by Marllun - 07.12.2017, 20:50
Re: GameTextForAll - by Poseidon4625 - 07.12.2017, 23:21

Forum Jump:


Users browsing this thread: 1 Guest(s)