Help me 3dtext on buyable vehicles. - 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: Help me 3dtext on buyable vehicles. (
/showthread.php?tid=114054)
Help me 3dtext on buyable vehicles. -
heinoperm - 17.12.2009
1
/* for(new h = 112; h < sizeof(CarInfo); h++)
{
Attach3DTextLabelToVehicle(
Text3D:
Create3DTextLabel(CarInfo[h][cValue], 125, 0.0,0.0,0.0, 20, 0, 0)
, CarInfo[h][cModel], 0.0, 0.0, 0.0);*/
}
2
/* for(new h = 112; h < sizeof(CarInfo); h++)
{
new Float:X = CarInfo[h][cLocationx];
new Float:Y = CarInfo[h][cLocationy];
new Float:Z = CarInfo[h][cLocationz]+1.0;
Attach3DTextLabelToVehicle(CarInfo[h][cValue],CarInfo[h][cModel],X,Y,Z);
return 1;
}*/
/*
3
for(new gc = 112; gc < sizeof(CarInfo); gc++)
{
Attach3DTextLabelToVehicle(
Create3DTextLabel(CarInfo[gc][cValue], 125, CarInfo[gc][cLocationx], CarInfo[gc][cLocationy], CarInfo[gc][cLocationz]+1.0,20,0,1)
,CarInfo[gc][cModel], CarInfo[gc][cLocationx], CarInfo[gc][cLocationy], CarInfo[gc][cLocationz]+1.0);
}*/
4
/*for(new gc = 112; gc < sizeof(CarInfo); gc++)
{
new PlayerText3D
layertextid;
new Float:X, Float:Y, Float:Z;
GetVehiclePos( CarInfo[gc][cModel], CarInfo[gc][cLocationx], CarInfo[gc][cLocationy], CarInfo[gc][cLocationz]);
playertextid = CreatePlayer3DTextLabel(CarInfo[gc][cModel],"TEST",0x008080FF,X,Y,Z,40.0);
return 1;
}*/
WHAT EVER I DO IT FAILS or do i put it in wrong spot? ( los angeles rp script after addstaticvehicleex count)
Re: Help me 3dtext on buyable vehicles. -
MPKaboose - 17.12.2009
new h = 112 ... shouldn't that be 0 ?
Re: Help me 3dtext on buyable vehicles. -
heinoperm - 17.12.2009
112 is my sellable car nr 1
my point : i want to put 3D textlabels on cars so they can show car prices at distance when player comes to shop and want to buy a car for him :P
Re: Help me 3dtext on buyable vehicles. -
heinoperm - 17.12.2009
Please help me