[Ajuda] TextDraw no /ann e /cnn
#1

Galera, esse й o meu /cnn e meu /ann, eu gostaria de mudar a fonte deles, colocar a fonte 1 mas eu nгo sei como fazer isso, sei que й coisa simples, e gostaria de uma ajudinha.

Код:
if(strcmp(cmd, "/cnn", true) == 0)
{
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), P_CONTAS, aname);
if(pAdmin[playerid] == 1 || pAdmin[playerid] == 2 || pAdmin[playerid] == 3 || pAdmin[playerid] == 4 || pAdmin[playerid] == 5){
new tmp[256];
tmp = strtok(cmdtext, idx, strlen(cmdtext));
if (!strlen(tmp))
{
SendClientMessage(playerid, Vermelho, "{0099FF}{0099FF}|INFO|{CCCCFF}{CCCCFF} Digite: /cnn [texto]");
return 1;
}
if(PlayerInfo[playerid][Logged] == 1)
{
if(pAdmin[playerid] == 1 || pAdmin[playerid] == 2 || pAdmin[playerid] == 3 || pAdmin[playerid] == 4 || pAdmin[playerid] == 5)
{
format(string, sizeof(string), "# ~b~%s~b~: ~r~%s~r~ #", aname, tmp);
GameTextForAll(string, 4000, 3);
}else{
SendClientMessage(playerid, Vermelho, "{0099FF}{0099FF}|INFO|{CCCCFF}{CCCCFF} Comando inexistente.");
}
}else{
SendClientMessage(playerid, Vermelho, "{0099FF}{0099FF}|INFO|{CCCCFF}{CCCCFF} Comando inexistente.");
}
return 1;
}
}

// /ann agora

if(strcmp(cmd, "/ann", true) == 0)
{
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), P_CONTAS, aname);
if(pAdmin[playerid] == 1 || pAdmin[playerid] == 2 || pAdmin[playerid] == 3 || pAdmin[playerid] == 4 || pAdmin[playerid] == 5){
new tmp[256];
tmp = strtok(cmdtext, idx, strlen(cmdtext));
if (!strlen(tmp))
{
SendClientMessage(playerid, Vermelho, "{0099FF}{0099FF}|INFO|{CCCCFF}{CCCCFF} Digite: /ann [texto]");
return 1;
}
if(PlayerInfo[playerid][Logged] == 1)
{
if(pAdmin[playerid] == 1 || pAdmin[playerid] == 2 || pAdmin[playerid] == 3 || pAdmin[playerid] == 4 || pAdmin[playerid] == 5){
format(string, sizeof(string), "# ~w~[] %s [] #", tmp);
GameTextForAll(string, 5000, 3);
}else{
SendClientMessage(playerid, Vermelho, "{0099FF}{0099FF}|INFO|{CCCCFF}{CCCCFF} Comando inexistente.");
}
}else{
SendClientMessage(playerid, Vermelho, "{0099FF}{0099FF}|INFO|{CCCCFF}{CCCCFF} Comando inexistente.");
}
return 1;
}
}
Reply


Messages In This Thread
TextDraw no /ann e /cnn - by dwrz - 18.11.2013, 21:10
Re: TextDraw no /ann e /cnn - by Mteck - 18.11.2013, 21:13
Re: TextDraw no /ann e /cnn - by dwrz - 18.11.2013, 21:20
Re: TextDraw no /ann e /cnn - by Tugamars - 18.11.2013, 22:10
Re: TextDraw no /ann e /cnn - by PT - 19.11.2013, 00:22
Re: TextDraw no /ann e /cnn - by dwrz - 19.11.2013, 13:55
Re: TextDraw no /ann e /cnn - by PT - 19.11.2013, 14:03
Re: TextDraw no /ann e /cnn - by MacacuVuador - 19.11.2013, 14:10
Re: TextDraw no /ann e /cnn - by MacacuVuador - 19.11.2013, 14:16
Re: TextDraw no /ann e /cnn - by dwrz - 19.11.2013, 14:28

Forum Jump:


Users browsing this thread: 1 Guest(s)