local events = require("samp.events")
function events.onPlayerStreamIn(id)
if (sampIsPlayerConnected(id) == true) then
local res, ped = sampGetCharHandleBySampPlayerId(id)
local name = sampGetPlayerNickname(id)
if res then
if getCharModel(ped) == 200 then...