SA-MP Forums Archive
[Ajuda] Cor no RG simpls - 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] Cor no RG simpls (/showthread.php?tid=432066)



Cor no RG simpls - Owner - 20.04.2013

quero bota cor no rg ta ae o codigo abaixo

format(gstring1, sizeof(gstring1),"Documentos de %s",name);
SendClientMessage(playerid, -1, gstring1);

format(gstring1, sizeof(gstring1), "Nivel: [%d] Sexo: [%s] Dinheiro: [%d] Banco: [%d] Celular: [%d]\n\n", level,atext, cash, Conta, pnumber);
SendClientMessage(playerid, -1, gstring1);
format(gstring1, sizeof(gstring1), "%sTipo de Conta: [%s] Creditos: [%d] Horas In Game: [%d] Casado Com: [%s]\n\n",RulesBox,drank, creditos, ptime,married);
SendClientMessage(playerid, -1, gstring1);
format(gstring1, sizeof(gstring1), "%sPeixes: [%d] Maior Peixe: [%d] Crimes Cometidos: [%d] Morreu: [%d] Proximo Nivel: [%d$]\n\n",RulesBox, fishes,bigfish,crimes,deaths,costlevel );
SendClientMessage(playerid, -1, gstring1);
format(gstring1, sizeof(gstring1), "%sEquipe Nome: [%s] Preso: [Nгo] Tempo Preso: [0] Banido: [Nгo] Respeito: [%d/%d]\n\n",RulesBox,NomeORG(playerid),exp,expquantidade );
SendClientMessage(playerid, -1, gstring1);
format(gstring1, sizeof(gstring1), "%sMateriais: [%d] Safe Materiais: [%d] Comendo: [Nгo] Dinamites: [%d/6] Helper: [%d/3]\n\n",RulesBox,mats,smats,Dinamites[targetid],PlayerInfo[targetid][pHelper]);
SendClientMessage(playerid, -1, gstring1);
format(gstring1, sizeof(gstring1), "%sMaconha: [%d] Cocaina: [%d] Crack: [%d] Safe Maconha: [%d] Safe Cocaina: [%d]\n\n",RulesBox,Entorpecentes,Entorpecentes2,Entorp ecentes3,SafeEntorpecentes,SafeEntorpecentes2);
SendClientMessage(playerid, -1, gstring1);
format(gstring1, sizeof(gstring1), "%sSafe Crack: [%d] Casa: [%d] Empresa: [%d] Carro 1: [%d] Carro 2: [%d]\n\n",RulesBox,SafeEntorpecentes3,Housekey,bizkey, ChaveCarro, ChaveCarro2);
SendClientMessage(playerid, -1, gstring1);
format(gstring1, sizeof(gstring1), "%sCarro 3: [%d] Admin: [%d/1343] Local: [%d] Profissгo: [%s] Hospitalizado: [Nгo]\n\n",RulesBox,ChaveCarro3,PlayerInfo[targetid][pAdmin],local,jtext);


Respuesta: Cor no RG simpls - Pedro Pawno - 20.04.2013

Cara coloque entre [ pawn ] e [ / pawn ] (sem espaзos).


Re: Cor no RG simpls - Owner - 20.04.2013

bota a cor COLOR_LIGHTBLUE


Re: Cor no RG simpls - smiiir - 20.04.2013

Troque isto

PHP код:
SendClientMessage(playerid, -1gstring1); 
Por Isto

PHP код:
SendClientMessage(playerid0xFFA500AAgstring1); 



Re: Cor no RG simpls - Owner - 20.04.2013

pawn Код:
C:\Users\PH\Desktop\BPF\gamemodes\RPG.pwn(9941) : warning 217: loose indentation
C:\Users\PH\Desktop\BPF\gamemodes\RPG.pwn(9941) : error 029: invalid expression, assumed zero
C:\Users\PH\Desktop\BPF\gamemodes\RPG.pwn(9941) : error 017: undefined symbol "F2FF"
C:\Users\PH\Desktop\BPF\gamemodes\RPG.pwn(9707) : warning 215: expression has no effect
C:\Users\PH\Desktop\BPF\gamemodes\RPG.pwn(9707 -- 9941) : error 017: undefined symbol "gstring1"
C:\Users\PH\Desktop\BPF\gamemodes\RPG.pwn(9707 -- 9941) : fatal error 107: too many error messages on one line