local sampev = require('samp.events')
function main()
while not isSampAvailable() do wait(300) end
print('Test script loaded')
wait(-1)
end
function sampev.onPlayerChatBubble(playerId, color, distance, duration, message)
sampAddChatMessage(message, -1)
print(playerId, color, distance, duration, message)
end