SASA 扩展SAMPFUNCS
聊天 SampChat
查看 Markdown聊天行追加与显示模式
sa · 扩展 SAMPFUNCS · 仅 SA-MP;需 SAMPFUNCS
向聊天追加一行带颜色的消息。
0AF8 SAMP_ADD_MESSAGE_TO_CHAT
in: format, color, args把指定聊天行改成自定义文本。用在 if 里。
0B74 SAMP_SET_CHAT_LINE
in: chatLineid, body, prefix, bodyColor, prefixColor返回指定聊天行的文本参数。
0B75 SAMP_GET_CHAT_LINE
in: index
out: bodyBuffer, prefixBuffer, bodyColor, prefixColor若聊天行可见则为真。
0BDB SAMP_IS_CHAT_VISIBLE返回当前聊天显示模式。
0BDC SAMP_GET_CHAT_DISPLAY_MODE
out: mode设置聊天显示模式。
0BDD SAMP_SET_CHAT_DISPLAY_MODE
in: mode
评论