SA-MP Forums Archive
crating 3d text label to all VWorlds? - 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: crating 3d text label to all VWorlds? (/showthread.php?tid=192686)



creating 3d text label to all VWorlds? - armyoftwo - 23.11.2010

I use this code:
Код:
Create3DTextLabel("Exit",COLOR_LIGHTRED, BuildingCoords[i][0], BuildingCoords[i][1], BuildingCoords[i][2],80.0, 0);
But it doesnt show for all virtual worlds


Re: crating 3d text label to all VWorlds? - Zh3r0 - 23.11.2010

pawn Код:
Create3DTextLabel("Exit",COLOR_LIGHTRED, BuildingCoords[i][0], BuildingCoords[i][1], BuildingCoords[i][2], 80.0, -1);
EDIT: I edited, i was wrong.


Re: creating 3d text label to all VWorlds? - armyoftwo - 23.11.2010

Thanks, but it doesnt work


Re: crating 3d text label to all VWorlds? - Zh3r0 - 23.11.2010

Quote:
Originally Posted by armyoftwo
Посмотреть сообщение
Thanks, but it doesnt work
That's really weird, i knew tat -1 makes it for everything.
I can't think of anything anymore...other than a loop but


Re: crating 3d text label to all VWorlds? - armyoftwo - 23.11.2010

I have set everything right.

pawn Код:
for(new i = 0; i<24; i++)
{
        Create3DTextLabel("Exit",COLOR_LIGHTRED, BuildingCoords[i][0], BuildingCoords[i][1], BuildingCoords[i][2],80.0,-1);
        printf("Exit Labels: X: %f Y: %f Z:%f", BuildingCoords[i][0], BuildingCoords[i][1], BuildingCoords[i][2]);
}
It should work according to the code.


Re: crating 3d text label to all VWorlds? - armyoftwo - 23.11.2010

Those coordinates are tested and are working fine.


Re: crating 3d text label to all VWorlds? - armyoftwo - 24.11.2010

bump, i use those 3d text labels in interiors tho