MUR1LLO

Members
  • Content count

    3
  • Joined

  • Last visited

Community Reputation

1 Neutral

About MUR1LLO

  • Rank
    I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.
  • Birthday April 17

Details

  • Gang
    bonde dos vagaba
  • Location
    Brazil
  • Occupation
    vagabundo profissional
  • Interests
    Java, C++ / C#, Lua

Recent Profile Visitors

216 profile views
  1. Obter jogadores

    function getNearestPlayer() local x,y,z = getElementPosition(localPlayer) for i, v in ipairs(getElementsByType("player")) do local distance = getDistanceBetweenPoints3D(x, y, z, getElementPosition(v)) if distance <= 20 then outputChatBox("ta perto") else outputChatBox("ta longe") end end end addCommandHandler("near", getNearestPlayer)
  2. function playersWantedLevel(player, cmd, getTarget) local target = getPlayerFromParticalName(getTarget) if (target) then if (isElement(target)) then local level = getPlayerWantedLevel(player) outputChatBox(getPlayerName(target).. " #ffffffestá com: " ..level.. " estrelas de procurado!", root, 255, 255, 255, true) end else outputChatBox("Não foi encontrando nenhum player com esse nome.", 255, 0, 0) end end addCommandHandler("getlevel", playersWantedLevel) function getPlayerFromParticalName(thePlayerName) local thePlayer = getPlayerFromName(thePlayerName) if thePlayer then return thePlayer end for _,thePlayer in ipairs(getElementsByType("player")) do if string.find(string.gsub(getPlayerName(thePlayer):lower(),"#%x%x%x%x%x%x", ""), thePlayerName:lower(), 1, true) then return thePlayer end end return false end Seria isso?
  3. Panel opening on Ped Click

    local peds = {} function ped(id, model, x,y,z, rotz) local pedTable = {} pedTable.newPed = createPed(model, x,y,z, rotz) setElementFrozen(pedTable.newPed, true) setElementCollisionsEnabled(pedTable.newPed, false) setElementDimension(pedTable.newPed, getElementDimension(localPlayer)) table.insert(peds, pedTable) end function execute() for i, v in pairs(peds) do if (v.id == "1") then -- do whatever you want end end end bindKey("f", "down", execute) ped("1", 65, 2488.64160, -1664.28223, 13.34375, 90) -- grove street