example
example

已解决√ 求助 okokchat的报错,不知道什么情况

HaoEr2047

N.E.P.S. 都市秩序部
论坛元老
高级用户
认证用户
黄金
26.00G
> ensure "okokChatV2"
[ resources] Stopping resource okokChatV2
[ c-scripting-core] Creating script environments for okokChatV2
[ script:es_extended] [ERROR] Resource okokChatV2 Used the getSharedObject Event, this event no longer exists! Visit https://documentation.esx-framework.org/tutorials/tutorials-esx/sharedevent for how to fix!
[ script:eek:kokChatV2] SCRIPT ERROR: @okokChatV2/server.lua:18: No such export registerMessageHook in resource chat
[ resources] Started resource okokChatV2
[ script:chat] 28-AbelKevin: 666
 
由版主最后编辑:
getSharedObject 函数被弃用,点那个链接里边有修复教程.
 
最后编辑:
改成新的用法就行了
 
后退
顶部