Jump to content

WWW

Members
  • Posts

    52
  • Joined

  • Last visited

  • Days Won

    2

WWW last won the day on March 6 2024

WWW had the most liked content!

1 Follower

Details

  • Occupation
    nrpwww.github.io

Recent Profile Visitors

4,338 profile views

WWW's Achievements

Snitch

Snitch (10/54)

7

Reputation

  1. Code 47 means banned (there are Global or Server bans). Contact an administrator.
  2. Code 47 means banned (there are Global or Server).
  3. Coloca uma permissão de ACL. general.tab_options
  4. local spawn = createMarker(0, 0, 0, "cylinder", 1, 255, 255, 255, 255) addEventHandler("onMarkerHit", spawn, function(element) if getElementType(element) == "player" then if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(element)), aclGetGroup("SAMU")) then setElementModel(element, 274) end end end) addEventHandler("onMarkerHit", spawn, function(element) if getElementType(element) == "player" then if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(element)), aclGetGroup("PM")) then setElementModel(element, 280) end end end)
  5. Coloque o código abaixo em servidor: local spawn = createMarker(0, 0, 0, "cylinder", 1, 255, 255, 255, 255) addEventHandler("onMarkerHit", spawn, function(element) if getElementType(element) == "player" then if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(element)), aclGetGroup("SAMU")) then if getPedOccupiedVehicle(element) == false then local x, y, z = getElementPosition(element) local v = createVehicle(551, x, y, z) warpPedIntoVehicle(element, v) end end end end) addEventHandler("onMarkerHit", spawn, function(element) if getElementType(element) == "player" then if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(element)), aclGetGroup("PM")) then if getPedOccupiedVehicle(element) == false then local x, y, z = getElementPosition(element) local v = createVehicle(551, x, y, z) warpPedIntoVehicle(element, v) end end end end)
  6. You should use client instead of source in the addEventHandler.
  7. Cliente: addEventHandler("onClientPlayerDamage", root, function() if bodypart == 9 then setElementHealth(source, getElementHealth(source) - 30) end end Meta: <meta> <script src="client.lua" type="client" /> </meta>
  8. Crie um recurso com o código abaixo em cliente, desative o recurso headshot também. addEventHandler("onClientPlayerDamage", root, function(attacker, damage_causing, bodypart, loss) if bodypart == 9 then setElementHealth(source, getElementHealth(source) - 30) end end
  9. addEventHandler("onClientPlayerDamage", root, function(attacker, damage_causing, bodypart, loss) if bodypart == 9 then cancelEvent() setElementHealth(source, getElementHealth(source) - 30) end end
  10. Client: addEventHandler("onClientChatMessage", root, function() if getElementData(source, "chat") == "local" then if source ~= getLocalPlayer() then cancelEvent() end end end) Server: setElementData(player, "chat", "local") setElementData(player, "chat", "everyone")
  11. You have to select the message, then cancel the event.
  12. We have this event on client. https://wiki.multitheftauto.com/wiki/OnClientChatMessage
  13. You should reinstall the server, I use this link below. https://nightly.multitheftauto.com/mtasa_x64-1.6-rc-22410-20240301.exe
  14. Uma solução é desativar o console. addEventHandler("onClientKey", root, function(button, pressOrRelease) if button == "F8" then cancelEvent() end end
  15. Conforme comentado no tópico abaixo, não tem como desativar um comando do cliente. https://forum.multitheftauto.com/topic/73065-question/
×
×
  • Create New...