- 99
- 24
Lua:
local sampev = require "lib.samp.events"
function sampev.onServerMessage(color, text)
lua_thread.create(function()
while true do
if string.find(text, "(Водительские права)", 1, true) then
sampAddChatMessage("Active", -1)
sampSendChat("/les")
function require 'samp.events'.onShowDialog(id, style, title, button1, button2, text)
if id == 1138 then
sampSendDialogResponse(id, 1,0, '')
end
end
end
end
end
end
[02:10:57.086962] (error) avtolik (1).lua: avtolik (1).lua:9: '(' expected near ''samp.events''
[02:10:57.086962] (error) avtolik (1).lua: Script died due to an error. (21A40CBC)
ну или так
up plz help
Последнее редактирование: