SA-MP Forums Archive
3DTextLabel no appear - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 3DTextLabel no appear (/showthread.php?tid=154204)



3DTextLabel no appear - Guilherme_Canani - 12.06.2010

Hi Guys (Brazilian, Bad English, sorry)
Look, i've made this 3DTextLabel, no erros, no warnings, but, him no appears... Code:

pawn Код:
for(new vehid; vehid < MAX_VEHICLES; vehid++)
  {
    new placa[128];
    format(placa,sizeof(placa), "LS %i", vehid);
      VehicleLicense[vehid] = Create3DTextLabel(placa, COLOR_LIGHTBLUE, 0.0, 0.0, 0.0, 50.0, 0, 0);
      Attach3DTextLabelToVehicle(VehicleLicense[vehid], vehid, 0.0, -2.5, 0.5);
    }
I use the search, and i've found some topics, but, any with the answer

Sorry for the Bad English... Thanks


Re: 3DTextLabel no appear - iJumbo - 12.06.2010

you have 2 create a 3d text frist under on gamemode or create it in the script Create3DTextLabel


Re: 3DTextLabel no appear - Dark_Kostas - 12.06.2010

Quote:
Originally Posted by [ZDM
jumbo ]
you have 2 create a 3d text frist under on gamemode or create it in the script Create3DTextLabel
There is no need.

Can you show us how your COLOR_LIGHTBLUE is defined? Make sure the last 2 characters are FF and not 00 (as i bet they are now )


Re: 3DTextLabel no appear - Guilherme_Canani - 12.06.2010

Edit Again...

Man, i saw there, and it was

pawn Код:
#define COLOR_LIGHTBLUE 0x33CCFFAA
Then, i've defined, a new to:

pawn Код:
#define COLOR_LIGHTBLUES 0x33CCFFFF
But it doesn't work


Re: 3DTextLabel no appear - Dark_Kostas - 12.06.2010

Are you sure the "new" is like that?
pawn Код:
new Text3D:VehicleLicense[MAX_VEHICLES];
I dont know something else


Re: 3DTextLabel no appear - Guilherme_Canani - 12.06.2010

pawn Код:
new Text3D:VehicleLicense[MAX_VEHICLES];
This is on GameMode


Re: 3DTextLabel no appear - clavador - 12.06.2010

Quote:
Originally Posted by Guilherme_Canani
pawn Код:
new Text3D:VehicleLicense[MAX_VEHICLES];
This is on GameMode
Increize the Z coordinates a little more. Maybe it's hidden and you can't see it.


Re: 3DTextLabel no appear - Guilherme_Canani - 12.06.2010

At the Portuguese/Brazilian area, we have a Tutorial talking about Attach3DTextLabelToVehicle, and it's at this cordinates


Re: 3DTextLabel no appear - Guilherme_Canani - 13.06.2010

Sorry, But i need of it fater...