3dtextlabel not working - 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)
+--- Thread: 3dtextlabel not working (
/showthread.php?tid=615762)
3dtextlabel not working -
AndreiWow - 26.08.2016
WHY IS THIS NOT WORKING
Код:
CreateDynamic3DTextLabel("{66CCFF}Central Store{FFFFFF}\nType /enter to enter this building.", COLOR_WHITE,1257.8146,204.3215,19.7174, 6.0, 0, 0);
3 HOURS and I cant MAKE this WORK
Re: 3dtextlabel not working - WhiteGhost - 27.08.2016
Whats The Problem?
Код:
new Text3D:Label[MAX_PLAYERS];
Label = CreateDynamic3DTextLabel("{66CCFF}Central Store{FFFFFF}\nType /enter to enter this building.", COLOR_WHITE,1257.8146,204.3215,19.7174, 6.0, 0, 0);
Re: 3dtextlabel not working -
Shinja - 27.08.2016
Quote:
Originally Posted by WhiteGhost
Код:
new Text3D:Label[MAX_PLAYERS];
Label = CreateDynamic3DTextLabel("{66CCFF}Central Store{FFFFFF}\nType /enter to enter this building.", COLOR_WHITE,1257.8146,204.3215,19.7174, 6.0, 0, 0);
|
Actually its same
Re: 3dtextlabel not working - WhiteGhost - 27.08.2016
Quote:
Originally Posted by Shinja
Actually its same
|
Notice.
Re: 3dtextlabel not working -
Shinja - 27.08.2016
Quote:
Originally Posted by WhiteGhost
Notice but he is missing playerid para.
PHP код:
CreateDynamic3DTextLabel(playerid,"{66CCFF}Central Store{FFFFFF}\nType /enter to enter this building.", COLOR_WHITE,1257.8146,204.3215,19.7174, 6.0, 0, 0);
|
There IS NO playerid param
PHP код:
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);
And why it's not working, as i see, you attaching it to playerid 0 and vehicleid 0, remove last 2 params
PHP код:
CreateDynamic3DTextLabel("{66CCFF}Central Store{FFFFFF}\nType /enter to enter this building.", COLOR_WHITE,1257.8146,204.3215,19.7174, 6.0);
Re: 3dtextlabel not working -
AndreiWow - 27.08.2016
Oh, I used the normal 3dtext label without dynamic, thanks tho