1,584
edits
DrinkyBird (talk | contribs) (Add AddCustomData) Tag: Source edit |
DrinkyBird (talk | contribs) (Add quotes around the first two parameters of AddCustomData) Tag: Source edit |
||
Line 29: | Line 29: | ||
! Description | ! Description | ||
|- | |- | ||
! <tt>AddCustomData = <name>, <type>, <default></tt> | ! <tt>AddCustomData = "<name>", "<type>", <default></tt> | ||
| {{Devfeature|3.2|alpha}} Add a custom player data field for the scoreboard. <tt>name</tt> is the name of your field. <tt>type</tt> is either <tt>int</tt>, <tt>bool</tt>, <tt>float</tt>, <tt>string</tt>, <tt>color</tt>, or <tt>texture</tt>. <tt>default</tt> is the default value of your field. | | {{Devfeature|3.2|alpha}} Add a custom player data field for the scoreboard. <tt>name</tt> is the name of your field. <tt>type</tt> is either <tt>int</tt>, <tt>bool</tt>, <tt>float</tt>, <tt>string</tt>, <tt>color</tt>, or <tt>texture</tt>. <tt>default</tt> is the default value of your field. | ||
|- | |- |