09.01.2011, 19:50
Sup all I need help making a 3dtextlabel above a pickup can anyone help me?
Parameters: (text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS) text[] The initial text string. color The text Color x X-Coordinate y Y-Coordinate z Z-Coordinate DrawDistance - The distance from where you are able to see the 3D Text Label VirtualWorld - The virtual world in which you are able to see the 3D Text testLOS 0/1 - Test the line-of-sight so this text can't be seen through objects Returns The ID of the newly created 3D Text Label
Create3DTextLabel("Here is a Sawn-Off!", 0x008080FF, X coord of pickup,Y coord of pickup,Z coord of pickup,40.0,0);
CreatePickup(model, type, x, y, z, Virtualworld);
Create3DTextLabel("Insert 3D text here", Color, x, y, z, draw distance, virtual world); Just make sure the x, y and z are the same for the pickup and 3Dtext label. If you want it to be ABOVE the pickup then just do: Create3DTextLabel("Insert 3D text here", Color, x, y, z+1, draw distance, virtual world); or something similar. |