Jump to content
Sign in to follow this  
granQ

Custom stringtable.csv in addons

Recommended Posts

Searched but didn't found so here we go.

Share this post


Link to post
Share on other sites

Hey GranQ,

are you reffering to a stringtable so you can support multiple languages in your addons?

I think you just make a little stringtable file...

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

"Language","English","French",....

"GRQ_A_RAISE","Raise Goggles","Vetri Di Aumento",......

..and then reference your string in your addons like so...

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class Myaddon : Default

{

nameofsomeactioninmyaddon="$GRQ_A_RAISE";

};

Share this post


Link to post
Share on other sites

yes and that what i did.. Must be something wrong then.

Share this post


Link to post
Share on other sites

I'm not an addon maker but I allways use stringtables in missions - perhaps someone who actually knows a bit can help you out. smile_o.gif

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
Sign in to follow this  

×