SA-MP Forums Archive
Textlabelproblem - 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: Textlabelproblem (/showthread.php?tid=349157)



Textlabelproblem - Daniel_Truk - 08.06.2012

I Got a textlabel problem. For some reason id 0 gets all the textlabels under his name..

Please help


Re: Textlabelproblem - SnG.Scot_MisCuDI - 08.06.2012

Code?


Re: Textlabelproblem - Daniel_Truk - 08.06.2012

Код:
	CreateDynamic3DTextLabel("City Hall /enter",0x00B7FFFF,-1754.0802,962.8884,24.8828,20.0,0); //
	CreateDynamic3DTextLabel("San News Studio",0x00B7FFFF,649.14, -1361.04, 13.58,20.0,0); //



Re: Textlabelproblem - MP2 - 08.06.2012

The 0 at the end is the 'attachedplayer' parameter - so that's why!


Re: Textlabelproblem - Daniel_Truk - 08.06.2012

Oh.. Now I noticed.


Re: Textlabelproblem - SnG.Scot_MisCuDI - 08.06.2012

pawn Код:
CreateDynamic3DTextLabel("City Hall /enter",0x00B7FFFF,-1754.0802,962.8884,24.8828,20.0,-1); //
    CreateDynamic3DTextLabel("San News Studio",0x00B7FFFF,649.14, -1361.04, 13.58,20.0,-1); //
pawn Код:
Text3D: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 = 100.0);
Correct usage