setInt

<html> <head> <meta http-equiv="Content-Language" content="zh-cn"> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>int item</title> </head> <body> <p><font color="#0000FF">int</font><font color="darkorange"> </font> <font color="#00FF00"> item</font>.<font color="#FF8C00">setInt</font>(<font color="blue">int</font> 索引, <font color="blue">char</font>*(<font color="blue">int</font>) 字段, <font color="blue">int</font> 新数据)</p> <p><strong>函数功能:</strong></p> <p><font color="darkgreen">--设置一个整型道具数据</font></p> <p><strong>参数说明:</strong></p> <table border="1" width="37%" id="table1"> <tr> <td width="151">索引</td> <td width="154">[整型]</td> <td>道具的索引号</td> </tr> <tr> <td width="151">字段</td> <td width="154">[整型]或[字符型]</td> <td>获取数据的位置编号</td> </tr> <tr> <td width="151">新数据</td> <td width="154">[整型]</td> <td>为字段设置一个新的值</td> </tr> </table> <p><strong>返回值:</strong></p> <p>返回 整型数据</a></p> <p><strong>使用例子:</strong></p> <p><font color="#008000">--把图像号设置为100000</font><br> <font color="#00FF00"> item</font>.<font color="#FF8C00">setInt</font>(itemindex, &quot;图像号&quot;, 100000)</p> <p><strong>参数说明:</strong></p> <p>字段可以使用数字编号0~?,也可使用中文字段,建议使用中文,提供的中文字段如下:</p> <p>图像号<br> 原图像号<br> 地图号<br> 坐标X<br> 坐标Y<br> 方向<br> 等级<br> 石币<br> HP<br> MP<br> 最大MP<br> 体力<br> 腕力<br> 耐力<br> 速度<br> 地<br> 水<br> 火<br> 风<br> 魅力<br> 运气<br> 死亡次数<br> 走路步数<br> 说话次数<br> 损坏次数<br> 给宠次数<br> 杀宠次数<br> 死宠次数<br> 发邮件数<br> 合成次数<br> PK次数<br> PK赢数<br> PK败数<br> PK连胜<br> PK最高连胜<br> 宠物类别<br> 总经验<br> 当前经验<br> 技能点<br> 升级点</p> </body> </html>