format(gstring1, sizeof(gstring1),"Documentos de %s",name);
format(RulesBox, sizeof(RulesBox), "Nivel: [%d] Sexo: [%s] Dinheiro: [%d] Banco: [%d] Celular: [%d]\n\n", level,atext, cash, Conta, pnumber);
format(RulesBox, sizeof(RulesBox), "%sTipo de Conta: [%s] Creditos: [%d] Horas In Game: [%d] Casado Com: [%s]\n\n",RulesBox,drank, creditos, ptime,married);
format(RulesBox, sizeof(RulesBox), "%sPeixes: [%d] Maior Peixe: [%d] Crimes Cometidos: [%d] Morreu: [%d] Proximo Nivel: [%d$]\n\n",RulesBox, fishes,bigfish,crimes,deaths,costlevel );
format(RulesBox, sizeof(RulesBox), "%sEquipe Nome: [%s] Preso: [Nгo] Tempo Preso: [0] Banido: [Nгo] Respeito: [%d/%d]\n\n",RulesBox,NomeORG(playerid),exp,expquantidade);
format(RulesBox, sizeof(RulesBox), "%sMateriais: [%d] Safe Materiais: [%d] Comendo: [Nгo] Dinamites: [%d/6] Helper: [%d/3]\n\n",RulesBox,mats,smats,Dinamites[targetid],PlayerInfo[targetid][pHelper]);
format(RulesBox, sizeof(RulesBox), "%sMaconha: [%d] Cocaina: [%d] Crack: [%d] Safe Maconha: [%d] Safe Cocaina: [%d]\n\n",RulesBox,Entorpecentes,Entorpecentes2,Entorpecentes3,SafeEntorpecentes,SafeEntorpecentes2);
format(RulesBox, sizeof(RulesBox), "%sSafe Crack: [%d] Casa: [%d] Empresa: [%d] Carro 1: [%d] Carro 2: [%d]\n\n",RulesBox,SafeEntorpecentes3,Housekey,bizkey,ChaveCarro, ChaveCarro2);
format(RulesBox, sizeof(RulesBox), "%sCarro 3: [%d] Admin: [%d/1343] Local: [%d] Profissгo: [%s] Hospitalizado: [Nгo]\n\n",RulesBox,ChaveCarro3,PlayerInfo[targetid][pAdmin],local,jtext);
ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX,gstring1,RulesBox,"Cancelar","");
format(RulesBox, sizeof(RulesBox),"Documentos de %s",name);
SendClientMessage(playerid, -1, RulesBox);
format(RulesBox, sizeof(RulesBox), "Nivel: [%d] Sexo: [%s] Dinheiro: [%d] Banco: [%d] Celular: [%d]", level,atext, cash, Conta, pnumber);
SendClientMessage(playerid, -1, RulesBox);
format(RulesBox, sizeof(RulesBox), "Tipo de Conta: [%s] Creditos: [%d] Horas In Game: [%d] Casado Com: [%s]\n\n",drank, creditos, ptime,married);
SendClientMessage(playerid, -1, RulesBox);
format(RulesBox, sizeof(RulesBox), "Peixes: [%d] Maior Peixe: [%d] Crimes Cometidos: [%d] Morreu: [%d] Proximo Nivel: [%d$]",fishes,bigfish,crimes,deaths,costlevel );
SendClientMessage(playerid, -1, RulesBox);
format(RulesBox, sizeof(RulesBox), "Equipe Nome: [%s] Preso: [Nгo] Tempo Preso: [0] Banido: [Nгo] Respeito: [%d/%d]",NomeORG(playerid),exp,expquantidade);
SendClientMessage(playerid, -1, RulesBox);
format(RulesBox, sizeof(RulesBox), "Materiais: [%d] Safe Materiais: [%d] Comendo: [Nгo] Dinamites: [%d/6] Helper: [%d/3]",mats,smats,Dinamites[targetid],PlayerInfo[targetid][pHelper]);
SendClientMessage(playerid, -1, RulesBox);
format(RulesBox, sizeof(RulesBox), "Maconha: [%d] Cocaina: [%d] Crack: [%d] Safe Maconha: [%d] Safe Cocaina: [%d]",Entorpecentes,Entorpecentes2,Entorpecentes3,SafeEntorpecentes,SafeEntorpecentes2);
SendClientMessage(playerid, -1, RulesBox);
format(RulesBox, sizeof(RulesBox), "Safe Crack: [%d] Casa: [%d] Empresa: [%d] Carro 1: [%d] Carro 2: [%d]",SafeEntorpecentes3,Housekey,bizkey,ChaveCarro, ChaveCarro2);
SendClientMessage(playerid, -1, RulesBox);
format(RulesBox, sizeof(RulesBox), "Carro 3: [%d] Admin: [%d/1343] Local: [%d] Profissгo: [%s] Hospitalizado: [Nгo]",ChaveCarro3,PlayerInfo[targetid][pAdmin],local,jtext);
SendClientMessage(playerid, -1, RulesBox);
pawn Код:
|
#define COLOR_LIGHTBLUE 0x33CCFFFF
ops esqueci de uma coisa teria como voce acrescentar a cor COLOR_LIGHTBLUE ? aquela cor azul bonita
|
#define COLOR_LIGHTBLUE 0x33CCFFFF
format(RulesBox, sizeof(RulesBox),"Documentos de %s",name);
SendClientMessage(playerid, COLOR_LIGHTBLUE , RulesBox);
format(RulesBox, sizeof(RulesBox), "Nivel: [%d] Sexo: [%s] Dinheiro: [%d] Banco: [%d] Celular: [%d]", level,atext, cash, Conta, pnumber);
SendClientMessage(playerid, COLOR_LIGHTBLUE , RulesBox);
format(RulesBox, sizeof(RulesBox), "Tipo de Conta: [%s] Creditos: [%d] Horas In Game: [%d] Casado Com: [%s]\n\n",drank, creditos, ptime,married);
SendClientMessage(playerid, COLOR_LIGHTBLUE , RulesBox);
format(RulesBox, sizeof(RulesBox), "Peixes: [%d] Maior Peixe: [%d] Crimes Cometidos: [%d] Morreu: [%d] Proximo Nivel: [%d$]",fishes,bigfish,crimes,deaths,costlevel );
SendClientMessage(playerid, COLOR_LIGHTBLUE , RulesBox);
format(RulesBox, sizeof(RulesBox), "Equipe Nome: [%s] Preso: [Nгo] Tempo Preso: [0] Banido: [Nгo] Respeito: [%d/%d]",NomeORG(playerid),exp,expquantidade);
SendClientMessage(playerid, COLOR_LIGHTBLUE , RulesBox);
format(RulesBox, sizeof(RulesBox), "Materiais: [%d] Safe Materiais: [%d] Comendo: [Nгo] Dinamites: [%d/6] Helper: [%d/3]",mats,smats,Dinamites[targetid],PlayerInfo[targetid][pHelper]);
SendClientMessage(playerid, COLOR_LIGHTBLUE , RulesBox);
format(RulesBox, sizeof(RulesBox), "Maconha: [%d] Cocaina: [%d] Crack: [%d] Safe Maconha: [%d] Safe Cocaina: [%d]",Entorpecentes,Entorpecentes2,Entorpecentes3,SafeEntorpecentes,SafeEntorpecentes2);
SendClientMessage(playerid, COLOR_LIGHTBLUE , RulesBox);
format(RulesBox, sizeof(RulesBox), "Safe Crack: [%d] Casa: [%d] Empresa: [%d] Carro 1: [%d] Carro 2: [%d]",SafeEntorpecentes3,Housekey,bizkey,ChaveCarro, ChaveCarro2);
SendClientMessage(playerid, COLOR_LIGHTBLUE , RulesBox);
format(RulesBox, sizeof(RulesBox), "Carro 3: [%d] Admin: [%d/1343] Local: [%d] Profissгo: [%s] Hospitalizado: [Nгo]",ChaveCarro3,PlayerInfo[targetid][pAdmin],local,jtext);
SendClientMessage(playerid, COLOR_LIGHTBLUE , RulesBox);
deu 2 warning
pawn Код:
|
C:\Users\PH\Desktop\BPF\gamemodes\RPG.pwn(9941) : warning 217: loose indentation
C:\Users\PH\Desktop\BPF\gamemodes\RPG.pwn(9896) : warning 204: symbol is assigned a value that is never used: "gstring1"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 10912 bytes
Code size: 1933444 bytes
Data size: 11636660 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:13597400 bytes
2 Warnings.