Jump to content

manawydan

Members
  • Posts

    980
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by manawydan

  1. nice man!
  2. or use createZombie(x,y,z,...) EXPORTED FUNCTION!
  3. você poderia mostrar seu script? para ''arrumarmos"!
  4. não consegui ver as imagens. Poderia tentar me explicar ?
  5. não entendi. Poderia explicar melhor?
  6. voce quer o resource que quando voce aperta "R" sua arma recarrega?
  7. manawydan

    Slothbot

    example: exports [ "slothBot" ]:spawnBot ( x, y, z, 90, math.random ( 300, 303 ), 0, 0, Team, 38,"mode", bol )
  8. manawydan

    Slothbot

    script server - side.
  9. voce quer pegar todos os resource do lado do cliente e colocar-los para os jogadores baixarem mais rapido? se sim! a pasta "http-client-files" tem todos os resources do lado do cliente. Voce pode pegar ela e hospeda-la. depois que os jogadores baixarem, voce fala pra eles colocar (as pastas com resource da pasta "http-client-files") na pasta "MTA San Andreas 1.3\mods\deathmatch\resources" espero ter ajudado!
  10. o gamemode funcionava antes? (desculpe a pergunta)
  11. este script usa funções de outro script (chamado dxscoreboard) baixe o dxscoreboard e inicie ambos.
  12. local col = createColCuboid ( 95.974617004395, 1751.3895263672, 17.640625, 255, 255, 255 ) local zone = createRadarArea ( 95.974617004395, 1751.3895263672, 255, 255, 255, 0, 0, 170 ) setElementData (zone, "zombieProof", true) function enterAdmin(hitElement,matchingDimension) if isPedInVehicle ( hitElement ) then setElementPosition ( getPedOccupiedVehicle( hitElement ),0, 0, 120 ) outputChatBox('You can not enter the area with vehicle',hitElement,255,0,0) return end if getElementType(hitElement) == "player" then local accName = getAccountName ( getPlayerAccount ( hitElement ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then toggleControl (hitElement, "fire", true ) toggleControl (hitElement, "aim_weapon", true) toggleControl (hitElement, "vehicle_fire", true) outputChatBox("Welcome to Admin area", hitElement, 0, 170, 255) else outputChatBox("Access denied", hitElement, 255, 0, 0) setElementPosition (hitElement, 0, 0, 120 ) end end end addEventHandler( "onColShapeHit", col, enterAdmin )
  13. https://wiki.multitheftauto.com/wiki/FindRotation
  14. local col = createColCuboid ( 95.974617004395, 1751.3895263672, 17.640625, 255, 255, 255 ) local zone = createRadarArea ( 95.974617004395, 1751.3895263672, 255, 255, 255, 0, 0, 170 ) setElementData (zone, "zombieProof", true) function enterAdmin(hitElement,matchingDimension) if isPedInVehicle ( hitElement ) then setElementPosition ( getPedOccupiedVehicle( hitElement ),0, 0, 120 ) outputChatBox('You can not enter the area with vehicle',hitElement,255,0,0) return end local accName = getAccountName ( getPlayerAccount ( hitElement ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then toggleControl (hitElement, "fire", true ) toggleControl (hitElement, "aim_weapon", true) toggleControl (hitElement, "vehicle_fire", true) outputChatBox("Welcome to Admin area", hitElement, 0, 170, 255) else outputChatBox("Access denied", hitElement, 255, 0, 0) setElementPosition (hitElement, 0, 0, 120 ) end end addEventHandler( "onColShapeHit", col, enterAdmin )
  15. try local col = createColCuboid ( 95.974617004395, 1751.3895263672, 17.640625, 255, 255, 255 ) local zone = createRadarArea ( 95.974617004395, 1751.3895263672, 255, 255, 255, 0, 0, 170 ) setElementData (zone, "zombieProof", true) function enterAdmin(hitElement,matchingDimension) local accName = getAccountName ( getPlayerAccount ( hitElement ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then toggleControl (hitElement, "fire", true ) toggleControl (hitElement, "aim_weapon", true) toggleControl (hitElement, "vehicle_fire", true) outputChatBox("Welcome to Admin area", hitElement, 0, 170, 255) else outputChatBox("Access denied", hitElement, 255, 0, 0) setElementPosition (hitElement, 0, 0, 120 ) end end addEventHandler( "onColShapeHit", col, enterAdmin )
  16. onPlayerStealthKill cancelEvent()
  17. setAccountData getAccountData com essas funções voce pode salvar dados e recuperar dados! toJSON fromJSON
  18. This outputs the specified text string to the chatbox. It can be specified as a message to certain player(s) or all players.</p>\n<p>It can optionally allow you to embed color changes into the string by setting the colorCoded boolean to true. This allows bool outputChatBox ( string text [, element visibleTo=getRootElement(), int r=231, int g=217, int b=176, bool colorCoded=false ] ) seria a tonalidade r, g, b = red green blue. acredito que seja assim mesmo pois para armazenar esses dados voce teria que salva-lo em uma tabela ou sistema ou então sql.
  19. tire o que ta com pasta use apenas o zipado, quando entra no seu server faça login como adm e então aperte "P" va no nome do mod e aperte start!
  20. voce descompactou o arquivo. tente usar ele zipado mesmo (a maioria dos mods é melhor deixar zipado)! algum erro no mod?
  21. escreveu o nome do mod exatamente certo? se sim pode copia o acl e cola aq para eu ver? normalmente o console nao diz nada mesmo, ele só diz quando um recurso tenta usa direito e não pode!
  22. acl novamente. "Admin"> "Moderator"> "SuperModerator"> "Admin"> "RPC"> "user.SeuNickAki"> "resource.admin"> "resource.webadmin"> "resource.NomeDoRecursoAki"> troque o NomeDoRecursoAki para o nome do seu recurso!
  23. voce pode registrar sem ter um painel de registro. apenas entre no server e digite: /register MeuNick pw:senha depois /login MeuNick pw:senha
  24. manawydan

    doubt

    setTimer, stopResource, getTickCount ()
×
×
  • Create New...