[PEDIDO] Como faзo pra colocar 3D Text nas Empresas?
#2

procure essa linha for(new h = 0; h < sizeof(BizzInfo); h++)

dps coloque

for(new h = 0; h < sizeof(BizzInfo); h++)
{
if(BizzInfo[h][bOwned] == 0)
{
new Casa[128];
format(Casa, sizeof(Casa), "[Empresa a Venda]\nNome: %s \nLevel: %d\nExtorзгo: %s\nPreзo: US$%d\nUse /comprarempresa",BizzInfo[h][bMessage],BizzInfo[h][bLevelNeeded],BizzInfo[h][bExtortion],BizzInfo[h][bBuyPrice]);
BizzInfo3D[h] = Create3DTextLabel(Casa,0xFF0000AA, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],60,0,1);
AddStaticPickup(1239, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
pickups++;
}
if(BizzInfo[h][bOwned] == 1)
{
new Casa2[128];
format(Casa2, sizeof(Casa2), "[Empresa]\nNome: %s \nLevel: %d\nDono: %s\nExtorзгo: %s\nUse /entrar",BizzInfo[h][bMessage],BizzInfo[h][bLevelNeeded],BizzInfo[h][bOwner],BizzInfo[h][bExtortion]);
BizzInfo3D[h] = Create3DTextLabel(Casa2,0xFF0000AA,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ],60,0,1);
AddStaticPickup(1239, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
pickups++;
}
}
for(new h = 0; h < sizeof(SBizzInfo); h++)
{
if(SBizzInfo[h][sbOwned] == 0)
{
new Casa[128];
format(Casa, sizeof(Casa), "[Empresa a Venda]\nNome: %s \nLevel: %d\nExtorзгo: %s\nPreзo: US$%d\nUse /comprarempresa",SBizzInfo[h][sbMessage],SBizzInfo[h][sbLevelNeeded],SBizzInfo[h][sbExtortion],SBizzInfo[h][sbBuyPrice]);
SBizzInfo3D[h] = Create3DTextLabel(Casa,0xFF0000AA, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ],60,0,1);
AddStaticPickup(1239, 1, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
pickups++;
}
if(SBizzInfo[h][sbOwned] == 1)
{
new Casa2[128];
format(Casa2, sizeof(Casa2), "[Empresa]\nNome: %s \nLevel: %d\nDono: %s\nExtorзгo: %s\nUse /entrar",SBizzInfo[h][sbMessage],SBizzInfo[h][sbLevelNeeded],SBizzInfo[h][sbOwner],SBizzInfo[h][sbExtortion]);
SBizzInfo3D[h] = Create3DTextLabel(Casa2,0xFF0000AA,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ],60,0,1);
AddStaticPickup(1239, 1, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
pickups++;
}
}

tб ai cara fiz na base do tutorial do lele espero ter ajudado.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)