SA-MP Forums Archive
Text 3D in different languages? - 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: Text 3D in different languages? (/showthread.php?tid=526368)



Text 3D in different languages? - Metharon - 17.07.2014

Hello , i want to know if is possible to create something like this:


If playerlanguage[playerid] == 1)
to create an text 3d in english.
if playerlanguage[playerid] == 2)
to create an text 3d in spanish.


I mean , i want to translate my server in 2 languages , there's a problem only about these 3d texts... so , i can do this?


Re: Text 3D in different languages? - Clad - 17.07.2014

Yes, You can do that.


Re: Text 3D in different languages? - Metharon - 17.07.2014

HOW : <!!! ?


Re: Text 3D in different languages? - Battlezone - 17.07.2014

pawn Код:
new Float:X, Float:Y, Float:Z;
GetPlayerPos( playerid, X, Y, Z );
if(playerlanguage[playerid] == 1)   CreatePlayer3DTextLabel(playerid,"English",0x008080FF,X,Y,Z,40.0, playerid);
if(playerlanguage[playerid] == 2)   CreatePlayer3DTextLabel(playerid,"Spanish",0x008080FF,X,Y,Z,40.0, playerid);



Re: Text 3D in different languages? - Metharon - 17.07.2014

Umm ,yeah but don't will that create lag on server? ..