30.10.2011, 05:22
Boa noite,
Tente isso...
Tente isso...
pawn Код:
for(new h = 0; h < sizeof(BizzInfo); h++)
{
new wii[128];
if(BizzInfo[h][bOwned] == 0)
{
AddStaticPickup(1272, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
format(wii, sizeof(wii), "[%s]\nEmpresa a venda\nLucro %d$.",BizzInfo[h][bMessage],BizzInfo[h][bLucro]);
BizzLabel[h] = Create3DTextLabel(wii,0x0080FFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+0.5,20.0,0);
}
if(BizzInfo[h][bOwned] == 1)
{
AddStaticPickup(1272, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
format(wii, sizeof(wii), "[%s]\nDono: %s\nLucro.",BizzInfo[h][bMessage],BizzInfo[h][bOwner],BizzInfo[h][bLucro]);
BizzLabel[h] = Create3DTextLabel(wii,0x0080FFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+0.5,20.0,0);
}
}