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. nice man, Happy New Year!
  3. you can see the example in wiki: https://wiki.multitheftauto.com/wiki/On ... icleDamage
  4. not bad
  5. all work?
  6. 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)
  7. manawydan

    Stop signs

    you can try use: onPlayerChat(event) cancelEvent() outputChatBox and some strings functions
  8. you can try use: toggleControl setTimer and some tables
  9. You're welcome!
  10. 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
  11. getPlayersInTeam
  12. removePedFromVehicle ?
  13. yes
  14. nice man
  15. looks good
  16. party system done, guild system 70%, if anyone can help with one map
  17. 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)
  18. for all cops?
  19. change getRootElement() to your players cop
  20. nice man
  21. bom acho que se voce postar uma imagens do server pode chamar a atenção de possiveis players, boa sorte
  22. if is easy i can make for free
  23. boa sorte parsa. Tambem tava pensando em coloca o meu projeto rpg na strike, mas ainda falta termina umas coisas
  24. onPlayerVehicleEnter and onResourceStart are server-side events,vehicle client side dont "work"
×
×
  • Create New...