Jump to content

manawydan

Members
  • Posts

    980
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by manawydan

  1. voce poderia dar mais detalhes para mais pessoas se interessarem, e feliz ano novo
  2. you can see the example in wiki: https://wiki.multitheftauto.com/wiki/On ... icleDamage
  3. one example, addEventHandler("onClientRender",root, function() local team = getPlayerTeam(localPlayer) if not(team)then return end local players = getPlayersInTeam(team) for k,v in ipairs(players)do -- you dxdraw here end end)
  4. manawydan

    Stop signs

    you can try use: onPlayerChat(event) cancelEvent() outputChatBox and some strings functions
  5. you can try use: toggleControl setTimer and some tables
  6. or you can try this(no tested) function getPlayersInMarker(marker) local players = getElementsByType("player") local t = {} for k,v in ipairs(players) do if(isElementWithinMarker(v,marker))then table.insert(v,t) end end return t end
  7. party system done, guild system 70%, if anyone can help with one map
  8. try this function PlayMusic(element,sound) if element and getElementType(element) == "player" then local team = getPlayerTeam(element) if team then local cops = getPlayersInTeam(team) triggerClientEvent(cops,"playMyMusic", element, copTeams) end end end addEventHandler("onColShapeLeave", prisonCol, PlayMusic) or function PlayMusic(element,sound) if element and getElementType(element) == "player" then local team = getPlayerTeam(element) if team and team == "cops" then triggerClientEvent(element,"playMyMusic", element, copTeams) end end end addEventHandler("onColShapeLeave", prisonCol, PlayMusic)
  9. change getRootElement() to your players cop
  10. bom acho que se voce postar uma imagens do server pode chamar a atenção de possiveis players, boa sorte
  11. if is easy i can make for free
  12. boa sorte parsa. Tambem tava pensando em coloca o meu projeto rpg na strike, mas ainda falta termina umas coisas
  13. onPlayerVehicleEnter and onResourceStart are server-side events,vehicle client side dont "work"
×
×
  • Create New...