Search the Community

Showing results for tags 'triggerclientevent'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


Last Updated

  • Start


Filter by number of...


  • Start



About Me





Found 3 results

  1. Whenever I go to do a dx panel this error appears ... What can I do to correct? "ERROR: Server triggered clientside event "eventoabrir", but event is not added clientside" -------------------CLIENT-------------------------- function abrir (_,state) if painel == false then showCursor(true) addEventHandler("onClientRender", root, Pdx) painel = true else showCursor(false) removeEventHandler("onClientRender", root, Pdx) painel = false end end addEvent("abrir", true) addEventHandler("abrir", root , abrir) ------------------SERVER-------------------------- local abrir = "painel" function showPanellr(thePlayer) triggerClientEvent(root, "abrir", thePlayer) end addEventHandler("onMarkerHit", mrkInicio, showPanellr)
  2. Is it possible to prevent trggerServerEvent and TriggerClientEvent from triggering other resources? Thanks
  3. Hello! I want to play a sound effect on the player's location, when he typed the command in, but my script is just not working, can somebody help me? Server: function pocsomoccseLejatszas() triggerClientEvent (getRootElement(), pocsomoccse) end addCommandHandler ("pocsomoccse", pocsomoccseLejatszas) Client: function pocsomoccseHangLejatszas() local jatekosX, jatekosY, jatekosZ = getElementPosition(localPlayer) local pocsomoccseHangEffekt = playSound3D("pocsomoccse.mp3", jatekosX, jatekosY, jatekosZ, false) end addEvent ("pocsomoccse", true) addEventHandler ("pocsomoccse", getRootElement(), pocsomoccseHangLejatszas) Meta: <meta> <info type="script" version="1.0.0"></info> <script src="codeC.lua" type="client"></script> <script src="codeC2.lua" type="client"></script> <script src="pocsomoccse_c.lua" type="client"></script> <script src="pocsomoccse_s.lua" type="server"></script> <file src="italy.mp3"></file> <file src="inferno.mp3"></file> <file src="jinglejingle.mp3"></file> <file src="alarm.mp3"></file> <file src="peddiendre.mp3"></file> <file src="putin_putout.mp3"></file> <file src="pocsomoccse.mp3"></file> </meta> Sorry for the Hungarian language.