O Oki_Bern Участник Автор темы 283 7 12 Апр 2024 #1 Версия MoonLoader Другое Мне нужно, чтоб если мой персонаж выходил из авто, то происходило действие Последнее редактирование: 12 Апр 2024
Решение Q Q quesada 12 Апр 2024 Lua: function onSendRpc(id, bitStream, priority, reliability, orderingChannel) if id == 154 then sampAddChatMessage('hello world!', -1) end end Lua: local events = require('samp.events') function events.onSendExitVehicle(vehicleId) sampAddChatMessage('hello world events!', -1) end Два примера
Lua: function onSendRpc(id, bitStream, priority, reliability, orderingChannel) if id == 154 then sampAddChatMessage('hello world!', -1) end end Lua: local events = require('samp.events') function events.onSendExitVehicle(vehicleId) sampAddChatMessage('hello world events!', -1) end Два примера
Q quesada q-team Проверенный 894 1,305 12 Апр 2024 Решение #2 Lua: function onSendRpc(id, bitStream, priority, reliability, orderingChannel) if id == 154 then sampAddChatMessage('hello world!', -1) end end Lua: local events = require('samp.events') function events.onSendExitVehicle(vehicleId) sampAddChatMessage('hello world events!', -1) end Два примера Реакции: MLycoris и Oki_Bern Позитивный голос 0 Негативный голос Решение
Lua: function onSendRpc(id, bitStream, priority, reliability, orderingChannel) if id == 154 then sampAddChatMessage('hello world!', -1) end end Lua: local events = require('samp.events') function events.onSendExitVehicle(vehicleId) sampAddChatMessage('hello world events!', -1) end Два примера