hy Everibody,please help my script no good.
onplayerwasted,money zero.
function money (thePlayer)
exports.global:takeMoney
end
addEventHandler("onClientPlayerWasted", money)
function disableSounds()
setAmbientSoundEnabled( "engine", false )
end
addEventHandler("onClientResourceStart",root,disableSounds)
local function playveSound(wehicleID)
if wehicleID == 400 then --colt45
local sound = playSound3D("sounds/weap/audi.mp3" false)
setSoundMaxDistance(sound, 40)
end
end
addEventHandler("onVehicleEnter", root, playveSound)
no good please help
Hy all.
Please help vehicle engine sounds.
vehicle id:400
sounds:http://gtafiles.gtainside.com/downloads/ftpg/1362828034_bmwm6_enginemod.zip
help my fix this problem.
function rob(rob,thePlayer)
if (robbed==0) then
outputChatBox("Start robbed", source, 255, 194, 14)
elseif (robbed==1) then
outputChatBox("Finish Robbed", source, 255, 194, 14)
end
givePlayerMoney ( rob, 1000 )
setTimer(rob, 10000, 0, source)
end
addCommandHandler( "rob",rob )
no god.Please help thank you