function onSendRpc(id, bitStream, priority, reliability, orderingChannel)
if id == 154 then
sampAddChatMessage('hello world!', -1)
end
end
local events = require('samp.events')
function events.onSendExitVehicle(vehicleId)
sampAddChatMessage('hello world events!', -1)
end...