29.07.2010, 03:11
For some reason, my TextLabels wont show up for me in the server,
i createt a two publics - unloading ( deleteing ) them and one for creating..
Even dont know it it creates the label...
So, im trying to create and attach text labes to vehicles ( Only ownable ones ) but like i said, it wont show up for me in the sever...
(Compiling with no errors)
i createt a two publics - unloading ( deleteing ) them and one for creating..
Even dont know it it creates the label...
So, im trying to create and attach text labes to vehicles ( Only ownable ones ) but like i said, it wont show up for me in the sever...
(Compiling with no errors)
pawn Код:
// Upper Defination
new Text3D:vehicle3Dtext[sizeof(CarInfo)];
//functions
forward LoadLic()
public LoadLic()
{
for(new idx = 184; idx < sizeof(CarInfo); idx++)
{
Create3DTextLabel( CarInfo[idx][cLicense], 0xFF0000AA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
Attach3DTextLabelToVehicle( vehicle3Dtext[idx], idx, 0.0, 0.0, 2.0);
}
return 1;
}
forward UnloadLic()
public UnloadLic()
{
for(new idx = 184; idx < sizeof(CarInfo); idx++)
{
Delete3DTextLabel(vehicle3Dtext[idx]);
}
return 1;
}
I have never even touched these 3d labes, so want to learn.... experiment etc..