Streamer plugin 3dtextlabel
#1

I don't understand how dynamic3dtextlabel work, I did this:

Код:
CreateDynamic3DTextLabel(""COL_GREEN"Deks\n"COL_WHITE"Type "COL_GREEN"/signup "COL_WHITE"to sign for the courses", COLOR_WHITE, -2035.1250, -131.2852, -8.3407, 9.0, 0, 0, 0, 5, 0);
And it is not working.
Reply
#2

Код:
CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_3D_TEXT_LABEL_SD, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1, priority = 0);
You are attaching the label to player ID 0 and vehicle ID 0 (it's not a valid vehicle ID as vehicle IDs start from 1). This is how you do it:
Код:
CreateDynamic3DTextLabel(""COL_GREEN"Deks\n"COL_WHITE"Type "COL_GREEN"/signup "COL_WHITE"to sign for the courses", COLOR_WHITE, -2035.1250, -131.2852, -8.3407, 9.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, 5, 0);
Reply
#3

Tried your version, not working, neither this is working.
PHP код:
CreateDynamic3DTextLabel(""COL_GREEN"Desk\n"COL_WHITE"Type "COL_GREEN"/signup "COL_WHITE"to sign for the courses"COLOR_WHITE, -2035.1250, -131.2852, -8.34079.0INVALID_PLAYER_IDINVALID_VEHICLE_ID050, -113.0); 

#EDIT, I was setting the wrong worldid, my bad Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)