SA-MP Forums Archive
[Ajuda] Ajudiha rapida 2!! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Ajudiha rapida 2!! (/showthread.php?tid=358213)



Ajudiha rapida 2!! - FireBallPlays - 09.07.2012

Ta eu fiz tudo certo mas quando aparece a mensagem no chat aparece em branco!!tem como deixar colorido


Код:
if(strcmp(cmdtext,"/corrida",true)==0)
{
static name[124];
GetPlayerName(playerid, name, 24);
format(name, 124, "%s foi Correr no Esgoto.Quer ir?Use /corrida", name);
SendClientMessageToAll(-1, name);
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
GameTextForPlayer(playerid,"Voce foi Teletransportado para /corrida",3000,6);
LinkVehicleToInterior(vehicleid,0);
SetPlayerInterior(playerid,0);
return SetVehiclePos(vehicleid,1410.6201,-1362.8466,8.5547);
}
SetPlayerPos(playerid,1410.6201,-1362.8466,8.5547);
SetPlayerInterior(playerid,0);
GameTextForPlayer(playerid,"Voce foi Teletransportado para /corrida",3000,6);
return 1;
}



Re: Ajudiha rapida 2!! - humildadeforever - 09.07.2012

Aqui:
pawn Код:
SendClientMessageToAll(-1, name);
Vocк troca o -1 pela cor.
Cores:http://www.mxstudio.com.br/Conteudos...aver/Cores.htm
Pegue as que estгo na coluna HTML e nгo esqueзa de por 0x no comeзo e FF no final e tirar o #.
Cor no site:
#FFFACD
Como deve ficar:
0xFFFACDFF


Re: Ajudiha rapida 2!! - WaGnerLiima - 09.07.2012

pawn Код:
if(strcmp(cmdtext,"/corrida",true)==0)
{
static name[124];
GetPlayerName(playerid, name, 24);
format(name, 124, "%s {0xFFFACDFF} foi Correr no Esgoto.Quer ir?Use /corrida", name);
SendClientMessageToAll(-1, name);
new vehicleid = GetPlayerVehicleID(playerid);
new State = GetPlayerState(playerid);
if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
{
GameTextForPlayer(playerid,"{0x7CFC00FF}Voce foi Teletransportado para /corrida",3000,6);
LinkVehicleToInterior(vehicleid,0);
SetPlayerInterior(playerid,0);
return SetVehiclePos(vehicleid,1410.6201,-1362.8466,8.5547);
}
SetPlayerPos(playerid,1410.6201,-1362.8466,8.5547);
SetPlayerInterior(playerid,0);
GameTextForPlayer(playerid,"{0x7CFC00FF}Voce foi Teletransportado para /corrida",3000,6);
return 1;
}
axo q tem q definir as cores


Re: Ajudiha rapida 2!! - FireBallPlays - 09.07.2012

Quote:
Originally Posted by humildadeforever
Посмотреть сообщение
Aqui:
pawn Код:
SendClientMessageToAll(-1, name);
Vocк troca o -1 pela cor.
Cores:http://www.mxstudio.com.br/Conteudos...aver/Cores.htm
Pegue as que estгo na coluna HTML e nгo esqueзa de por 0x no comeзo e FF no final e tirar o #.
Cor no site:
#FFFACD
Como deve ficar:
0xFFFACDFF
Obriga Rep mais pra vcvc nao e que nem o cara de cima ali o vlw


Re: Ajudiha rapida 2!! - Bruno Alves - 09.07.2012

Nem de bola pra esse cara ignora pessoas assim


Re: Ajudiha rapida 2!! - humildadeforever - 09.07.2012

Quote:
Originally Posted by FireBallPlays
Посмотреть сообщение
Obriga Rep mais pra vcvc nao e que nem o cara de cima ali o vlw
Ele de TPM fica pior que eu e minha mгe juntas, liga nгo.