for(new h = 0; h < sizeof(BizzInfo); h++)
{
if(BizzInfo[h][bTill] >= 1000000) { BizzInfo[h][bTill]=1000000; }
if(BizzInfo[h][bOwned] == 0)
{
new Empresa[128];
format(Empresa, 128, "{0080FF}[Empresa em Venda]\n{05CFFA}Descricao: %s \n{0080FF}Nivel: %d\n{05CFFA}Preзo: %d$\n{0080FF}Use /comprarempresa",SBizzInfo[h][sbMessage],SBizzInfo[h][sbLevelNeeded],SBizzInfo[h][sbBuyPrice]);
Create3DTextLabel(Empresa,0x006400FF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],60,0,1);
BizzInfo[h][bPickupID]=CreateDynamicPickup(1272, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
pickups++;
}
if(BizzInfo[h][bOwned] == 1)
{
new Empresa2[128];
LINHA 6962 ==> format(Empresa2, 128), "{0080FF}[Empresa]\n{05CFFA}Descricao: %s \n{0080FF}Dono: %d\n{05CFFA}Preзo: %d$",SBizzInfo[h][sbMessage],SBizzInfo[h][bOwner],SBizzInfo[h][sbBuyPrice]);
Create3DTextLabel(Empresa2,0x006400FF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],60,0,1);
BizzInfo[h][bPickupID]=CreateDynamicPickup(1272, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
pickups++;
}
}
C:\Users\--\Desktop\V. 1\gamemodes\rptuga.pwn(6962) : warning 213: tag mismatch
C:\Users--\Desktop\V. 1\gamemodes\rptuga.pwn(18339) : warning 202: number of arguments does not match definition
C:\Users\--\Desktop\V. 1\gamemodes\rptuga.pwn(22480) : warning 202: number of arguments does not match definition
for(new h = 0; h < sizeof(BizzInfo); h++)
{
Delete3DTextLabel(BizzLabel[h]);
if(BizzInfo[h][bOwned] == 0)
{
format(string, sizeof(string), "{FFFFFF}%s\n{33AA33}Essa Empresa Estб б Venda.\n{33AA33}Valor: {FFFFFF}R$%d\n{33AA33}Level: {FFFFFF}%d\n{33AA33}Para comprar digite /compraremp",BizzInfo[h][bMessage],BizzInfo[h][bBuyPrice],BizzInfo[h][bLevelNeeded]);
BizzLabel[h] =CreateDynamic3DTextLabel(string, -1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+0.5, 20, 0);
}
if(BizzInfo[h][bOwned] == 1)
{
format(string, sizeof(string), "{FFFFFF}%s\n{33AA33}Dono: {FFFFFF}%s\n{33AA33}Extorзгo: {FFFFFF}%s\n{33AA33}Entrada: {FFFFFF}R$%d\n{33AA33}Level: {FFFFFF}%d\n{33AA33}Digite /entrar",BizzInfo[h][bMessage],BizzInfo[h][bOwner],BizzInfo[h][bExtortion],BizzInfo[h][bEntranceCost],BizzInfo[h][bLevelNeeded]);
BizzLabel[h] = CreateDynamic3DTextLabel(string, -1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+0.5, 20, 0);
}
}
Vocк estб tentando criar? Se estб tentando criar porque usar isso igual dos demais GM's? ou vocк estб tentando editar? >_<
Quais sгo as linhas erradas //preguiзa de ver todo o cуdigo |
LINHA 6962 ==> format(Empresa2, 128), "{0080FF}[Empresa]\n{05CFFA}Descricao: %s \n{0080FF}Dono: %d\n{05CFFA}Preзo: %d$",SBizzInfo[h][sbMessage],SBizzInfo[h][bOwner],SBizzInfo[h][sbBuyPrice]);
format(Empresa2, 128, "{0080FF}[Empresa]\n{05CFFA}Descricao: %s \n{0080FF}Dono: %d\n{05CFFA}Preзo: %d$",SBizzInfo[h][sbMessage],SBizzInfo[h][bOwner],SBizzInfo[h][sbBuyPrice]);
128)
for(new h = 0; h < sizeof(BizzInfo); h++)
{
if(BizzInfo[h][bTill] >= 1000000) { BizzInfo[h][bTill]=1000000; }
if(BizzInfo[h][bOwned] == 0)
{
new Empresa[128];
format(Empresa, 128, "{0080FF}[Empresa em Venda]\n{05CFFA}Descricao: %s \n{0080FF}Nivel: %d\n{05CFFA}Preзo: %d$\n{0080FF}Use /comprarempresa",SBizzInfo[h][sbMessage],SBizzInfo[h][sbLevelNeeded],SBizzInfo[h][sbBuyPrice]);
Create3DTextLabel(Empresa,0x006400FF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],60,0,1);
BizzInfo[h][bPickupID]=CreateDynamicPickup(1272, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
pickups++;
}
if(BizzInfo[h][bOwned] == 1)
{
new Empresa2[128];
LINHA DO WARN===> format(Empresa2, 128, "{0080FF}[Empresa]\n{05CFFA}Descricao: %s \n{0080FF}Dono: %d\n{05CFFA}Preзo: %d$",SBizzInfo[h][sbMessage],SBizzInfo[h][bOwner],SBizzInfo[h][sbBuyPrice]);
Create3DTextLabel(Empresa2,0x006400FF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],60,0,1);
BizzInfo[h][bPickupID]=CreateDynamicPickup(1272, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
pickups++;
}
}
fo