SA-MP Forums Archive
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.71746.000); 
There IS NO playerid param
PHP код:
CreateDynamic3DTextLabel(const text[], colorFloat:xFloat:yFloat:zFloat:drawdistanceattachedplayer INVALID_PLAYER_IDattachedvehicle INVALID_VEHICLE_IDtestlos 0worldid = -1interiorid = -1playerid = -1Float:streamdistance STREAMER_3D_TEXT_LABEL_SDSTREAMER_TAG_AREA areaid STREAMER_TAG_AREA -1priority 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.71746.0); 



Re: 3dtextlabel not working - AndreiWow - 27.08.2016

Oh, I used the normal 3dtext label without dynamic, thanks tho