sebastian462578932 Posted November 10, 2013 Posted November 10, 2013 Hola, tengo un problema aqui, quiero ponerle un sonido a mi Servidor Race cuando carga el Mapa, pero no se como hacerlo elseif map.type == 'loadingmap' then fixVehicle(g_player) playSound("audio/loadingmap.wav") Si alguno me pudiera ayudar Gracias
Castillo Posted November 10, 2013 Posted November 10, 2013 playSound es solo client side, y seguramente, ese script es server side. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
sebastian462578932 Posted November 10, 2013 Author Posted November 10, 2013 playSound es solo client side, y seguramente, ese script es server side. No es server side, es Client side se mete en el archivo race_client.lua , pero nose como configurarlo
Castillo Posted November 10, 2013 Posted November 10, 2013 Postea toda la funcion. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
sebastian462578932 Posted November 10, 2013 Author Posted November 10, 2013 Postea toda la funcion. function handleHitPickup(pickup) if pickup.type == 'vehiclechange' then if pickup.vehicle == getElementModel(g_Vehicle) then return end g_PrevVehicleHeight = getElementDistanceFromCentreOfMassToBaseOfModel(g_Vehicle) alignVehicleWithUp() setElementModel(g_Vehicle, pickup.vehicle) vehicleChanging(g_MapOptions.classicchangez, pickup.vehicle) playSound("audio/pickup.wav" ) elseif pickup.type == 'nitro' then addVehicleUpgrade(g_Vehicle, 1010) playSound("audio/nitro.wav" ) elseif pickup.type == 'repair' then fixVehicle(g_Vehicle) playSound("audio/repair.wav") elseif map.type == 'loadingmap' then fixVehicle(g_player) playSound("audio/loadingmap.wav")
Castillo Posted November 10, 2013 Posted November 10, 2013 Ahi esta el problema, editaste algo que no tiene nada que ver. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts