[Ajuda] GameTextForAll
#1

OLБ, QUERIA MUDAR O TAMANHO DO TEXTO DO COMANDO DO /CNN

COMO QUE TБ:
https://imgur.com/a/CI0n1

COMO EU QUERIA:
https://imgur.com/a/nWp9Y

OBS: QUERIA QUE ELE FICA-SE MAIS PEQUENO

[pwn]
if(strcmp(cmd, "/cnn", true) == 0)
{
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
if(pAdmin[playerid] == 1 || pAdmin[playerid] == 2 || pAdmin[playerid] == 3 || pAdmin[playerid] == 4 || pAdmin[playerid] == 5){
new trampo[256];
strmid(trampo,cmdtext,4,strlen(cmdtext));
if (!strlen(trampo))
{
SendClientMessage(playerid, ERRO_L, "| ERRO | Digite: /cnn [texto]");
return 1;
}
if(IsPlayerConnected(playerid))
{
if(pAdmin[playerid] == 1 || pAdmin[playerid] == 2 || pAdmin[playerid] == 3 || pAdmin[playerid] == 4 || pAdmin[playerid] == 5){
format(string, sizeof(string), "~w~%s", trampo);
GameTextForAll(string, 5000, 3);
}else{
SendClientMessage(playerid, ERRO_L, "| ERRO | Comando invбlido!");
}
}else{
SendClientMessage(playerid, ERRO_L, "| ERRO | Vocк tem que estar logado para usar este comando!");
}
return 1;
}
}[/pwn]
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: 7 Guest(s)