搜索
查看: 1811|回复: 2

请教一个函数获取使用方法

[复制链接]
发表于 2008-8-11 10:41:49 | 显示全部楼层 |阅读模式 来自 广西柳州
#if defined _Signs_included
#endinput
#endif
#define _Signs_included
native cs_get_user_rank( id, Signs[82])
这个是头文件,可使用
new  Signs[82]
cs_get_user_rank( id, Signs[82])
去无法获取,试了N种获取名字方法和定义 Signs都无法通过,请问是什么原因?谢谢
发表于 2008-8-11 18:55:48 | 显示全部楼层 来自 广东深圳

回复: 请教一个函数获取使用方法

Post by wwww23
这个是头文件,可使用
new Signs[82]
cs_get_user_rank( id, Signs[82])
去无法获取,试了N种获取名字方法和定义 Signs都无法通过,请问是什么原因?谢谢

试试
new Signs[82]
cs_get_user_rank( id, Signs)


看看[php]
get_user_name - Finds the name of a player.
Syntaxget_user_name ( index, name[], len )
TypeNative
Notesindex is a player index from 1 to 32.

Stores the name for a maximum of len characters.
User Contributed Notesweecka at stablebeast dot comAug-28-05 19:54:11example of using it:
new name[18]
get_user_name(id, name, 17)
client_print(id, print_chat, "Your name is: %s", name)
[/php]
回复

使用道具 举报

 楼主| 发表于 2008-8-11 18:59:51 | 显示全部楼层 来自 广西柳州

回复: 请教一个函数获取使用方法

谢谢,好像行了。:sweet_kis
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表