Jump to content

Vision

Members
  • Content Count

    405
  • Joined

  • Last visited

Everything posted by Vision

  1. Pois é, dificil entender, tu pede ajuda em uma coisa e depois quer outra? confuso. Boa sorte ai.
  2. Mas não era isso a ideia do script? Usar o comando enquanto está fazendo o download e bloquear quando terminasse.
  3. function onJoin() setElementData ( source, "DownMOD", true ) end addEventHandler("onPlayerJoin",root,onJoin) function onDownloadFinish() setElementData ( client, "DownMOD", false ) end addEvent("DownLoad",true) addEventHandler("DownLoad",root,onDownloadFinish) Tenta ai, e também tinha um "apóstrofo" no segundo argumento do setElementData na linha 48.
  4. Vision

    [Help]Lua

    kickPlayer(player,"Küfür") Replace to this: kickPlayer ( source, "Küfür" )
  5. local radioOn = false function turnRadio ( command ) if ( command == 'radioon' and not radioOn ) then setRadioChannel ( 0 ); song = playSound ( 'http://www.181.fm/stream/asx/181-power.asx', true ); radioOn = true; elseif ( command == 'radiooff' and radioOn ) then stopSound ( song ); radioOn = false; end end addCommandHandler ( 'radioon', turnRadio ); addCommandHandler ( 'radiooff', turnRadio );
  6. Vision

    Script

    Try this: function guji ( hitElement ) triggerClientEvent ( hitElement, "okno", source ) end addEventHandler("onMarkerHit", markerpracy, guji)
  7. http://community.mtasa.com/index.php?p= ... ls&id=9002 Modification. DONE
  8. http://community.mtasa.com/index.php?p= ... ls&id=8990 Modification. DONE
  9. Did you try the code that I posted?
  10. He wants to disable only the main chat local chat = true function chatDis(thePlayer) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then outputChatBox("#E3E8B7The chat has been disabled by "..getPlayerName(thePlayer)..".",root,255, 255, 255, true) chat = false end end addCommandHandler("chatoff", chatDis) function chatEn(thePlayer) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) )
  11. local timer local engineState = false function toggleEngine ( ) local checkPlayerVehicle = getPedOccupiedVehicle ( localPlayer ) if ( checkPlayerVehicle and getVehicleController ( checkPlayerVehicle ) == localPlayer ) then local checkState = getVehicleEngineState ( checkPlayerVehicle ) timer = setTimer ( function ( ) setVehicleEngineState ( checkPlayerVehicle, not checkState ) outputChatBox ( ( checkState and 'OFF' or 'ON' ) ) engineState = false end, 3000, 1 ) engine
  12. getWeaponNameFromID
  13. Vision

    Bugs

    ----------------------------------------------------- -- script Bases Area 51 MTA:SA Gang War -- @author EufraT & TAPL -- @update 28/1/2014 ----------------------------------------------------- radararea2 = createRadarArea( 110.91990, 1800.89435, 200, 145, 255, 255, 255, 225 ) createBlip(279.40317, 1831.25439, 7.72656,62) marker2 = createMarker(298.98865, 1815.90613, 3.71094,"cylinder",2,0,0,255,255) Maverick = createVehicle ( 487, 251.64256286621,1920.413574218817,640630722046 ) addCommandHandler ( "comprar", function ( player ) local money = getPlayerMoney ( player )
  14. function antinj ( p, _, jacked ) local occupied = getVehicleOccupant ( source ) if ( occupied == jacked ) then cancelEvent() outputChatBox("Tā nav labi darīt!", p ) end end addEventHandler ( "onVehicleStartEnter", getRootElement(), antinj ) Try this.
  15. addEventHandler ( "onClientResourceStart", root, Change to: addEventHandler ( "onClientResourceStart", resourceRoot,
  16. Vision

    Shop

    Is this file server-side or client-side?
  17. Vision

    Muting

    Try to change the client-side function name.
  18. http://community.mtasa.com/index.php?p= ... ls&id=7254
  19. Modification http://community.mtasa.com/index.php?p= ... ls&id=8227 DONE
  20. Vision

    Converter

    http://gtamap.delux-host.com/converter/
×
×
  • Create New...