[Ajuda] 3dText infoorg
#1

coloquei edtextlabel no meu gm so q n sei o q tem de errado pq n aparece as edtextlabel de jeito nenhum olha ae colo fiz

em sbizzinfo coloquei
pawn Код:
new SBizzInfo[24][sbInfo];

new Text3D:HouseLabel[MAX_HOUSES];
new Text3D:BizzLabel[MAX_BIZZES];
new Text3D:SBizzLabel[MAX_SBIZZES];
new Text3D:Infodaorgs1;
new Text3D:Infodaorgs2;
new Text3D:Infodaorgs3;
new Text3D:Infodaorgs4;
new Text3D:Infodaorgs5;
new Text3D:Infodaorgs6;
new Text3D:Infodaorgs7;
new Text3D:Infodaorgs8;
new Text3D:Infodaorgs9;
new Text3D:Infodaorgs10;
new Text3D:Infodaorgs11;
new Text3D:Infodaorgs12;
new Text3D:Infodaorgs13;
new Text3D:Infodaorgs14;
new Text3D:Infodaorgs15;
new Text3D:Infodaorgs16;
new Text3D:Infodaorgs17;
new Text3D:Infodaorgs18;
new Text3D:Infodaorgs19;
new Text3D:Infodaorgs20;
new Text3D:Infodaorgs21;
new Text3D:Infodaorgs22;
pawn Код:
forward InfodaOrg();
public InfodaOrg()
{
Delete3DTextLabel(Infodaorgs1);
Delete3DTextLabel(Infodaorgs2);
Delete3DTextLabel(Infodaorgs3);
Delete3DTextLabel(Infodaorgs4);
Delete3DTextLabel(Infodaorgs5);
Delete3DTextLabel(Infodaorgs6);
Delete3DTextLabel(Infodaorgs7);
Delete3DTextLabel(Infodaorgs8);
Delete3DTextLabel(Infodaorgs9);
Delete3DTextLabel(Infodaorgs10);
Delete3DTextLabel(Infodaorgs11);
Delete3DTextLabel(Infodaorgs12);
Delete3DTextLabel(Infodaorgs13);
Delete3DTextLabel(Infodaorgs14);
Delete3DTextLabel(Infodaorgs15);
Delete3DTextLabel(Infodaorgs16);
Delete3DTextLabel(Infodaorgs17);
Delete3DTextLabel(Infodaorgs18);
Delete3DTextLabel(Infodaorgs19);
Delete3DTextLabel(Infodaorgs20);
Delete3DTextLabel(Infodaorgs21);
Delete3DTextLabel(Infodaorgs22);
new string[128];
//PM
format(string, sizeof(string), "Departamento de Policia\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[1][Lider],InfoOrg[1][SubLider]);
Infodaorgs1 = Create3DTextLabel(string, COR_PM, 1554.9537,-1675.6584,16.1953,20.0,0);
//ROTA
format(string, sizeof(string), "DP ROTA\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[2][Lider],InfoOrg[2][SubLider]);
Infodaorgs2 = Create3DTextLabel(string, COR_PR, 327.8898,-1511.8446,36.0325,20.0,0);
//exercito
format(string, sizeof(string), "DP Exercito\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[3][Lider],InfoOrg[3][SubLider]);
Infodaorgs3 = Create3DTextLabel(string, COR_EXE, -1347.9265,499.6405,18.2344,20.0,0);
//medicos
format(string, sizeof(string), "Hospital\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[4][Lider],InfoOrg[4][SubLider]);
Infodaorgs4 = Create3DTextLabel(string, COR_SAMU, 1172.0771,-1325.3292,15.4074,20.0,0);
//los aztecas
format(string, sizeof(string), "HQ Los Aztecas\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[5][Lider],InfoOrg[5][SubLider]);
Infodaorgs5 = Create3DTextLabel(string, COR_AZTECAS, 2515.4551,-1957.5441,16.7933,20.0,0);
//taliban
format(string, sizeof(string), "HQ Taliban\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[6][Lider],InfoOrg[6][SubLider]);
Infodaorgs6 = Create3DTextLabel(string, COR_TAL, 2729.4189,-2451.5088,17.5937,20.0,0);
//hitmans
format(string, sizeof(string), "HQ Hitmans\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[8][Lider],InfoOrg[8][SubLider]);
Infodaorgs8 = Create3DTextLabel(string, COR_HITMAN, 2035.4895,-1284.9490,20.9606,20.0,0);
//reporters
format(string, sizeof(string), "HQ Reporters\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[9][Lider],InfoOrg[9][SubLider]);
Infodaorgs9 = Create3DTextLabel(string, COR_REP, 732.8953,-1341.6794,14.4305,20.0,0);
//taxistas
format(string, sizeof(string), "HQ Taxistas\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[10][Lider],InfoOrg[10][SubLider]);
Infodaorgs10 = Create3DTextLabel(string, COR_TAXI, 1004.3594,-1430.8429,13.5469,20.0,0);
//policia federal
format(string, sizeof(string), "DP P.Federal\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[11][Lider],InfoOrg[11][SubLider]);
Infodaorgs11 = Create3DTextLabel(string, COR_PF, 1059.6041,-345.1531,73.9922,20.0,0);
//mafia cosa nostra
format(string, sizeof(string), "HQ M.Cosa Nostra\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[12][Lider],InfoOrg[12][SubLider]);
Infodaorgs12 = Create3DTextLabel(string, COR_COSA, 1497.0920,-687.8906,95.5633,20.0,0);
//yakuza
format(string, sizeof(string), "HQ M.Yakuza\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[13][Lider],InfoOrg[13][SubLider]);
Infodaorgs13 = Create3DTextLabel(string, COR_YAK, 691.5710,-1276.1722,13.5607,20.0,0);
//groove
format(string, sizeof(string), "HQ Groove Street\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[14][Lider],InfoOrg[14][SubLider]);
Infodaorgs14 = Create3DTextLabel(string, COR_GRO, 2495.3481,-1691.1355,14.7656,20.0,0);
//alq'qaeda
format(string, sizeof(string), "HQ Al'qaeda\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[15][Lider],InfoOrg[15][SubLider]);
Infodaorgs15 = Create3DTextLabel(string, COR_AL, -345.7168,-1045.7802,59.8125,20.0,0);
//Policia Civil
format(string, sizeof(string), "DP Policia Civil\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[16][Lider],InfoOrg[16][SubLider]);
Infodaorgs16 = Create3DTextLabel(string, COR_PC, -49.8844,-269.3635,6.6332,20.0,0);
//ballas
format(string, sizeof(string), "HQ Ballas\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[17][Lider],InfoOrg[17][SubLider]);
Infodaorgs17 = Create3DTextLabel(string, COR_BALLAS, 1154.9366,-1180.8309,32.8187,20.0,0);
//vagos
format(string, sizeof(string), "HQ Vagos\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[18][Lider],InfoOrg[18][SubLider]);
Infodaorgs18 = Create3DTextLabel(string, COR_VAGOS, 1539.6094,-1694.4749,13.5469,20.0,0);
//Comando v
format(string, sizeof(string), "HQ CV\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[19][Lider],InfoOrg[19][SubLider]);
Infodaorgs19 = Create3DTextLabel(string, 0xF6000000, 2140.9382,-1801.9813,16.1475,20.0,0);
//PCC
format(string, sizeof(string), "HQ PCC\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[20][Lider],InfoOrg[20][SubLider]);
Infodaorgs20 = Create3DTextLabel(string, 0xCCFF99FF, 1024.3748,-1105.2520,28.0134,20.0,0);
//Midnight Club
format(string, sizeof(string), "HQ Midnight\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[21][Lider],InfoOrg[21][SubLider]);
Infodaorgs21 = Create3DTextLabel(string, COR_MID, 290.8473,-1144.8918,80.9099,20.0,0);
//Sons Of Anarchy
format(string, sizeof(string), "HQ Sons\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nLider: %s\n.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•.•\nSub-Lider: %s",InfoOrg[22][Lider],InfoOrg[22][SubLider]);
Infodaorgs22 = Create3DTextLabel(string, COR_SONS, 681.5197,-473.3466,16.5363,20.0,0);
}
Reply
#2

Sei la, nгo mexo com 3dlabels..
Mas tenta diminuir o texto e colocar o VW' params que ta faltando!
E apenas atualiza eles n fica Destruindo e Criando!

Update3DTextLabelText(Text3D:id, color, text[]);

Se ajudei +rep.

@EDIT
Usa tambem: new Text3D:Infodaorg[22]; //acho melhor!
Reply
#3

esses text 3d sao do gm BGL cara
Reply
#4

Quote:
Originally Posted by BrunoBSF
Посмотреть сообщение
esses text 3d sao do gm BGL cara
І

concordo plenamente.
Reply
#5

Sim...mais num quero sair de qual gm й quero um ajudo pq as 3dtexetlabel n estao aparecendo ...se for postar para n ajudar naum precisa postar nada
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)