|
发表于 2008-1-3 14:08:37
|
显示全部楼层
来自 中国–广东–惠州–惠城区
回复: 如果自定义计时
应该用get_user_time()比较方便- get_user_time
- [url=mk:@MSITStore:D:\tools\amxmodx-doc.chm::/functions/core/index.htm][u][color=#800080]Core[/color][/u][/url] (amxmodx.inc)
- Description
- get_user_time - Returns a player's playing time in seconds.
- Syntax
- get_user_time ( index, [ flag ] )
- Type
- Native
- Notes
- index is a player index from 1 to 32.
- If the flag is set, the result is returned minus the connection time.
复制代码 |
|