05.02.2012, 23:49
oi alguem poderia me ajudar a fazer um sistema de atualizar 3ds de empresas a cada 2 segundos?
isso dai que eu quero q atualize a cada dois segundos.
achei um assim de casas tentei fazer para as empreas mas encotrei erros.
alguem pode me ajudar a resolver meu problema com o /infoorg emoutro topico?
pawn Код:
for(new h = 0; h < sizeof(BizzInfo); h++)
{
if(BizzInfo[h][bOwned] == 0)
{
format(string, sizeof(string), "%s",BizzInfo[h][bMessage]);
Create3DTextLabel(string, 0x00FF7FFF, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ], 50, 0);
format(string, sizeof(string), "\nБ Venda");
Create3DTextLabel(string, 0x00FF7FFF, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ], 50, 0);
format(string, sizeof(string), "\n\nValor: R$%d",BizzInfo[h][bBuyPrice]);
Create3DTextLabel(string, 0x00FF7FFF, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ], 50, 0);
format(string, sizeof(string), "\n\n\nLevel : %d",BizzInfo[h][bLevelNeeded]);
Create3DTextLabel(string, 0x00FF7FFF, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ], 50, 0);
format(string, sizeof(string), "\n\n\n\nDigite /compraremp");
Create3DTextLabel(string, 0x00FF7FFF, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ], 50, 0);
}
if(BizzInfo[h][bOwned] == 1)
{
format(string, sizeof(string), "%s",BizzInfo[h][bMessage]);
Create3DTextLabel(string, 0x00FF7FFF, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ], 50, 0);
format(string, sizeof(string), "\nDono : %s",BizzInfo[h][bOwner]);
Create3DTextLabel(string, 0x00FF7FFF, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ], 50, 0);
format(string, sizeof(string), "\n\nGerente : %s",BizzInfo[h][bExtortion],BizzInfo[h][bEntranceCost]);
Create3DTextLabel(string, 0x00FF7FFF, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ], 50, 0);
format(string, sizeof(string), "\n\n\nEntrada : R$%d",BizzInfo[h][bEntranceCost]);
Create3DTextLabel(string, 0x00FF7FFF, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ], 50, 0);
format(string, sizeof(string), "\n\n\n\nLevel : %d",BizzInfo[h][bLevelNeeded]);
Create3DTextLabel(string, 0x00FF7FFF, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ], 50, 0);
format(string, sizeof(string), "\n\n\n\n\nDigite /entrar");
Create3DTextLabel(string, 0x00FF7FFF, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ], 50, 0);
}
}
for(new h = 0; h < sizeof(SBizzInfo); h++)
{
if(SBizzInfo[h][sbOwned] == 0)
{
format(string, sizeof(string), "%s",SBizzInfo[h][sbMessage]);
Create3DTextLabel(string, 0x00FF7FFF, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ], 50, 0);
format(string, sizeof(string), "\nБ Venda");
Create3DTextLabel(string, 0x00FF7FFF, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ], 50, 0);
format(string, sizeof(string), "\n\nValor: R$%d",SBizzInfo[h][sbBuyPrice]);
Create3DTextLabel(string, 0x00FF7FFF, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ], 50, 0);
format(string, sizeof(string), "\n\n\nLevel : %d",SBizzInfo[h][sbLevelNeeded]);
Create3DTextLabel(string, 0x00FF7FFF, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ], 50, 0);
format(string, sizeof(string), "\n\n\n\nDigite /compraremp");
Create3DTextLabel(string, 0x00FF7FFF, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ], 50, 0);
}
if(SBizzInfo[h][sbOwned] == 1)
{
format(string, sizeof(string), "%s",SBizzInfo[h][sbMessage]);
Create3DTextLabel(string, 0x00FF7FFF, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ], 50, 0);
format(string, sizeof(string), "\nDono : %s",SBizzInfo[h][sbOwner]);
Create3DTextLabel(string, 0x00FF7FFF, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ], 50, 0);
format(string, sizeof(string), "\n\nGerente : %s",SBizzInfo[h][sbExtortion],SBizzInfo[h][sbEntranceCost]);
Create3DTextLabel(string, 0x00FF7FFF, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ], 50, 0);
format(string, sizeof(string), "\n\n\nEntrada : R$%d",SBizzInfo[h][sbEntranceCost]);
Create3DTextLabel(string, 0x00FF7FFF, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ], 50, 0);
format(string, sizeof(string), "\n\n\n\nLevel : %d",SBizzInfo[h][sbLevelNeeded]);
Create3DTextLabel(string, 0x00FF7FFF, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ], 50, 0);
format(string, sizeof(string), "\n\n\n\n\nDigite /entrar");
Create3DTextLabel(string, 0x00FF7FFF, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ], 50, 0);
}
}
achei um assim de casas tentei fazer para as empreas mas encotrei erros.
alguem pode me ajudar a resolver meu problema com o /infoorg emoutro topico?