Search the Community

Showing results for tags 'gta '.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
  • Archive
  • Private Bugtracker

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Gang


Location


Occupation


Interests

Found 1 result

  1. No entiendo los boolean de aqui que está pasando con estas funciones????... -------------------------------- function aliento () if getElementData(getLocalPlayer(), "blood") <= 5000 and not getElementData(getLocalPlayer(), "isDead") == true then ------ attempt to comparare boolean with number ---Error aqui--- local Zx,Zy,Zz = getElementPosition( ped ) local randnum = math.random(1,5) local sound = playSound("sounds/aliento"..randnum..".ogg", Zx, Zy, Zz, false) setSoundMaxDistance(sound, 20) end end setTimer(aliento, 10000, 0) function suspenso () if getElementData(getLocalPlayer(), "blood") <= 3000 and not getElementData(getLocalPlayer(), "isDead") == true then ------ attempt to comparare boolean with number ---Error aqui--- local Zx,Zy,Zz = getElementPosition( ped ) local sound = playSound("sounds/suspenso.ogg", Zx, Zy, Zz, false) setSoundMaxDistance(sound, 20) end end setTimer(suspenso, 9000, 0) local screenX, screenY = guiGetScreenSize() local screenSource = dxCreateScreenSource(screenX, screenY) addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function() if getVersion ().sortable < "1.1.0" then return else blackWhiteShader, blackWhiteTec = dxCreateShader("fx/blackwhite.fx") if (not blackWhiteShader) then else end end end) addEventHandler("onClientPreRender", getRootElement(), function() if getElementData(getLocalPlayer(), "blood") <= 5000 and not getElementData(getLocalPlayer(), "isDead") == true then ------ attempt to comparare boolean with number ---Error aqui--- dxUpdateScreenSource(screenSource) dxSetShaderValue(blackWhiteShader, "screenSource", screenSource) dxDrawImage(0, 0, screenX, screenY, blackWhiteShader) end end) --------------------------