|
发表于 2008-6-29 20:36:45
|
显示全部楼层
来自 中国–辽宁–沈阳
回复: [求助] jim_yang 请你帮我看一下这个代码问题该怎么修正!
/* Returns all carried weapons as bit sum. Gets
* also theirs indexes.
* Note that num is incremental - if you pass 0, you get
* 32 weapons towards the total. Afterwards, num will
* will contain the number of weapons retrieved.
* However, subsequent calls to get_user_weapons() will
* return the next batch of weapons, in case the mod
* supports more than 32 weapons.
* This means to call get_user_weapons() on the same
* inputs twice, you must reset num to 0 to get the
* original output again.
*/
学到了一些东西 谢谢 |
|