|
发表于 2006-7-14 08:20:22
|
显示全部楼层
来自 中国–云南–昆明
回复: 请问如何连接2个字符串?
#include <amxmodx>
#include <string>
public abc(id)
{
new n[32]
new sh[32]
sh="[SH]"
get_user_name(id,n,32)
strcat(sh,n,32)
client_print(0,print_chat,"%s",sh)
return PLUGIN_HANDLED
}
public plugin_init()
{
register_plugin("111","1.0","FoX")
register_clcmd("l", "abc")
} |
|