3D text labels are not showing up
#1

i added this lines in my OnGameModeInIt()

pawn Код:
cmdspickup = CreatePickup(1239, 2, 1078.8491, 1065.7372, 10.8359, -1);
Create3DTextLabel("Commands", 0xFF0000FF , 1078.8491, 1065.7372, 10.8359+0.6, 40.0, -1, 0);
helppickup = CreatePickup(1239, 2, 1062.8152, 1080.9312, 10.1602, -1);
Create3DTextLabel("Help", 0xFF0000FF , 1062.8152, 1080.9312, 10.1602+0.6, 40.0, -1, 0);
telepickup = CreatePickup(1239, 2, 1087.1531, 1104.6786, 10.1856, -1);
Create3DTextLabel("Teleports", 0xFF0000FF , 1087.1531, 1104.6786, 10.1856+0.6, 40.0, -1, 0);
rulepickup = CreatePickup(1239, 2, 1098.3083, 1080.8220, 10.8359, -1);
Create3DTextLabel("Rules", 0xFF0000FF , 1098.3083, 1080.8220, 10.8359+0.6, 40.0, -1, 0);
vehpickup = CreatePickup(1318, 2, 1028.5106, 1124.7836, 11.0000, -1);
Create3DTextLabel("Vehicles", 0xFF0000FF , 1028.5106, 1124.7836, 11.0000+0.6, 40.0, -1, 0);
but only pickups are showing not 3d labels
Reply
#2

Код:
(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS);
You need to be in the right virtual world (2nd last one).
You have placed your virtual world to -1.
The default virtualworld is 0.
Reply
#3

Try changing the virtual world (one parameter before the last) to 0.
Reply
#4

-1 means every virtual world
Reply
#5

Well, in that case if you want it in all virtual worlds you should use.
Код:
CreateDynamic3DTextLbel(" TEXT ", COLOUR , x, y, z, Range);
As the samp version counts -1 as a virtual world, this one will place it in all virtual worlds.
Just to let you know you do require streamer to use this function.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)