How can I play a sound when ever a player gets an achievement?
With this handler -
addEventHandler("onPlayerGetAchievement", getRootElement(), displayAchievement)
You haven't placed your modules correctly one, or two, you haven't downloaded the second vital module that should be placed in
C:\Program Files (x86)\MTA San Andreas 1.3\server - Your MTA Server folder.
If you need further help add me on Skype : avindean6
Nothing in the server side.
This is the server side -
addEventHandler("onPlayerLogin", root,
function()
triggerClientEvent(source, "onLogin", source)
end)
Btw is it possible to loop the sound?
-