Jump to content
MechSlayer

RSC Text show variable

Recommended Posts

class RscText_1000: RscText
				{
					idc = 1000;
					text = "Paciente:"; //--- ToDo: Localize;
					x = 0.237519 * safezoneW + safezoneX;
					y = 0.15 * safezoneH + safezoneY;
					w = 0.0524963 * safezoneW;
					h = 0.07 * safezoneH;
				};
			class nombrePaciente: RscText
				{
					idc = 1001;
					text = "hint format['%1', nombre];";
					x = 0.289762 * safezoneW + safezoneX;
					y = 0.171182 * safezoneH + safezoneY;
					w = 0.104993 * safezoneW;
					h = 0.028 * safezoneH;
				};

Hey, how can I make it show the name of the player ? It only shows the code

Share this post


Link to post
Share on other sites

add to nombrePaciente 

onLoad = "_this select 0 ctrlSetText name player";


of you could try

text = __EVAL(name player);

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×