Help 3DText
#1

Hello everybody my enterprise system is not working well i put 3DText to display the information so that it only shows the first company formed and others not.


pawn Код:
for(new I=0;I<=EmpCount;I++)
{
if(Empresa[I][Owned] == true)
{
format(string1, sizeof(string1), "Empresa Dono: %s\nPreco de Compra Gold: %d\n Preco de Venda Gold: %d",Empresa[I][EmpOwner],Empresa[I][EmpPreco], Empresa[I][EmpVenda]);
EMPC = Create3DTextLabel(string1,COLOR_RED,Empresa[I][PickupXX], Empresa[I][PickupYY], Empresa[I][PickupZZ]+0.75,15,0,1);
}
if(Empresa[I][Owned] == false)
{
format(string1, sizeof(string1), "Empresa Dono: Ninguem\nPreco de Compra Gold: %d\n Preco de Venda Gold: %d",Empresa[I][EmpPreco], Empresa[I][EmpVenda]);
EMPV = Create3DTextLabel(string1,COLOR_RED,Empresa[I][PickupXX], Empresa[I][PickupYY], Empresa[I][PickupZZ]+0.75,15,0,1);
}
return 1;
}
Reply


Messages In This Thread
Help 3DText - by [FeK]HigorOliver - 07.11.2010, 11:43
Re: Help 3DText - by Rachael - 07.11.2010, 11:55
Re: Help 3DText - by [FeK]HigorOliver - 07.11.2010, 12:06
Re: Help 3DText - by Rachael - 07.11.2010, 12:15

Forum Jump:


Users browsing this thread: 2 Guest(s)