- 222
- 55
- Версия MoonLoader
- .026-beta
ЗНАЮ такой скрипт уже есть, но я хочу сделать сам + со своим звуковым уведомление ане дефолтным
NA GAMES\bin\Arizona\moonloader\transfix.lua:40: attempt to index global 'bass' (a nil value)
stack traceback:
D:\ARIZONA GAMES\bin\Arizona\moonloader\transfix.lua:40: in function 'callback'
...NA GAMES\bin\Arizona\moonloader\lib\samp\events\core.lua:77: in function 'process_event'
...NA GAMES\bin\Arizona\moonloader\lib\samp\events\core.lua:100: in function 'process_packet'
...NA GAMES\bin\Arizona\moonloader\lib\samp\events\core.lua:127: in function <...NA GAMES\bin\Arizona\moonloader\lib\samp\events\core.lua:126>
[ML] (error) transfix.lua: Script died due to an error. (7DA6F324)
1:
function sampev.onShowDialog(id, style, title, button1, button2, text)
if id == 8252 and act == true then
sampSendDialogResponse(id, 1, -1, nil)
return false
end
local sound = bass.BASS_StreamCreateFile(false, "moonloader/music.mp3", 0, 0, 0)
bass.BASS_ChannelSetAttribute(sound, BASS_ATTRIB_VOL, 5.0)
bass.BASS_ChannelPlay(sound, false)
end
stack traceback:
D:\ARIZONA GAMES\bin\Arizona\moonloader\transfix.lua:40: in function 'callback'
...NA GAMES\bin\Arizona\moonloader\lib\samp\events\core.lua:77: in function 'process_event'
...NA GAMES\bin\Arizona\moonloader\lib\samp\events\core.lua:100: in function 'process_packet'
...NA GAMES\bin\Arizona\moonloader\lib\samp\events\core.lua:127: in function <...NA GAMES\bin\Arizona\moonloader\lib\samp\events\core.lua:126>
[ML] (error) transfix.lua: Script died due to an error. (7DA6F324)