12
返回列表 發新帖
樓主: tchunaik

[已解決] 关于字首珠

[複製鏈接]
發表於 2012-4-29 10:37:31 | 顯示全部樓層
[隱藏]
本帖最後由 tiggoiv 於 2012-4-29 10:38 AM 編輯
tchunaik 發表於 2012-4-29 10:20 AM
我发去你facebook inbox了..


local PrefixID = math.floor(math.mod(weaponID, 10000000) / 100000)
这段错误
改成local PrefixID = math.floor(math.mod(weaponID, 100000000) / 100000)
试试看
或local PrefixID = math.floor(math.mod(weaponID) / 100000)
回復

使用道具 舉報

 樓主| 發表於 2012-4-29 10:52:55 | 顯示全部樓層
tiggoiv 發表於 2012-4-29 10:37 AM
local PrefixID = math.floor(math.mod(weaponID, 10000000) / 100000)
这段错误
改成local PrefixID ...

local PrefixID = math.floor(math.mod(weaponID, 100000000) / 100000)问题一样

local PrefixID = math.floor(math.mod(weaponID) / 100000)server出现bad argument #2 to 'mod'

问题还是存在
回復

使用道具 舉報

發表於 2012-4-29 12:14:27 | 顯示全部樓層
本帖最後由 tiggoiv 於 2012-4-29 12:15 PM 編輯
tchunaik 發表於 2012-4-29 10:52 AM
local PrefixID = math.floor(math.mod(weaponID, 100000000) / 100000)问题一样

local PrefixID = math ...


local PrefixID = math.floor(math.mod(weaponID, 10000000) / 100000)
怪怪的@@到底什么问题



回復

使用道具 舉報

 樓主| 發表於 2012-4-29 14:08:47 | 顯示全部樓層
tiggoiv 發表於 2012-4-29 12:14 PM
local PrefixID = math.floor(math.mod(weaponID, 10000000) / 100000)
怪怪的@@到底什么问题

这个是我copy真结义酒的脚本的..
回復

使用道具 舉報

發表於 2012-4-29 18:13:32 | 顯示全部樓層
tchunaik 發表於 2012-4-29 02:08 PM
这个是我copy真结义酒的脚本的..


可以貼真结义酒脚本裡面的
  1. if PrefixID .....
複製代碼
這句出來看一下嗎?
回復

使用道具 舉報

 樓主| 發表於 2012-4-29 18:24:42 | 顯示全部樓層
gota6 發表於 2012-4-29 06:13 PM
可以貼真结义酒脚本裡面的這句出來看一下嗎?

什么意思?
回復

使用道具 舉報

發表於 2012-4-29 19:19:06 | 顯示全部樓層
tchunaik 發表於 2012-4-29 06:24 PM
什么意思?

即是把真结义酒的脚本貼上來, 不過不要緊, 你先試一下把
  1. local PrefixID = math.floor(math.mod(weaponID, 10000000) / 100000)
複製代碼
改成
  1. local PrefixID = math.floor(math.mod(weaponID, 100000000) / 100000)
複製代碼
看看行不行
回復

使用道具 舉報

 樓主| 發表於 2012-4-29 19:26:55 | 顯示全部樓層
gota6 發表於 2012-4-29 07:19 PM
即是把真结义酒的脚本貼上來, 不過不要緊, 你先試一下把改成看看行不行

终于能了..谢谢你
其实这句话意思是什么?
回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

手機版|Archiver|排行榜|幫助|希望國度

GMT+8, 2024-3-30 06:45 , Processed in 0.067482 second(s), 12 queries .

Theme Design By Tenny (希望國度)| Version: 10.0

Powered by Discuz! X3.4 © 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表