Jump to content

GTA User files


luck.

Recommended Posts

hello, sorry if I'm posting this in the wrong area because they do not know what the right area, anyway, I wanted to know how I do to play the music from My Documents \ GTA San Andreas User Files on a server, it is possible? sorry my bad english¬¬

Link to comment

You must put your aduio file in %mtadir%/server/mods/deathmatch/resources/[your_resource]

Then add the file in the meta.xml like this:

  
"your_audio_file"/> 
  

To play the file you must do something like this:

  
local sound = playSound("your_audio_file",false) 
setSoundVolume(sound,1) 
--the script is clientside 
  

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...