Jump to content
Tory Xiao

RemoteExec BIS_fnc_textTiles problem

Recommended Posts

I would like to use BIS_fnc_textTiles as my killfeed text, the question is how do I add victim name (%1) and reward money (%2) into the text?

[parseText "<t font='PuristaBold' size='1.5'>You killed %1</t><br />And gain $%2 bonus", true, nil, 2, 0.7, 0] remoteExec ["BIS_fnc_textTiles", _killer];

 

Share this post


Link to post
Share on other sites
[parseText format [ "<t font='PuristaBold' size='1.5'>You killed %1</t><br />And gain $%2 bonus", _victim, _reward_money ], true, nil, 2, 0.7, 0] remoteExec ["BIS_fnc_textTiles", _killer];

not tested

Share this post


Link to post
Share on other sites
3 minutes ago, sarogahtyp said:

[parseText format [ "<t font='PuristaBold' size='1.5'>You killed %1</t><br />And gain $%2 bonus", _victim, _reward_money ], true, nil, 2, 0.7, 0] remoteExec ["BIS_fnc_textTiles", _killer];

not tested

I'll try, thanks!

Share this post


Link to post
Share on other sites
1 hour ago, sarogahtyp said:

[parseText format [ "<t font='PuristaBold' size='1.5'>You killed %1</t><br />And gain $%2 bonus", _victim, _reward_money ], true, nil, 2, 0.7, 0] remoteExec ["BIS_fnc_textTiles", _killer];

not tested

It works, thanks mate

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

×