-
Posts
4,144 -
Joined
-
Last visited
-
Days Won
1
Everything posted by dzek (varez)
-
can you send me the audio file? and explain what exactly do you need?
-
if plane will slow down isSoundPlayed will be changed back to false - so if plane accelerate again to 230km/h - the sound will be played again. its all ok. or maybe you mean to make sound loopped while speed > 230? then do it in this way: if getVehicleSpeed ( getPedOccupiedVehicle ( localPlayer ) ) >= 230 and isSoundPlayed == false then sound = playSound ( "files/knall.mp3", true ) isSoundPlayed=true else if isElement(sound) then stopSound(sound) isSoundPlayed = false end end
-
we dont care about conversion to samp mta map editor is created by mta team for using in mta..
-
link fixed, feel free to download now
-
one of resources you already have is causing this probably. dont know which one. just turn off them one-by-one checking which one it doing this
-
this is not the best way to do that (you can save some cpu adding handler when player enters vehicle and its hydra and removing when player leaves) but should work
-
check pm
-
voice chat? yup, already requested
-
if this is true i think he solved this already, maybe stop bumping this, as there is no need to do that .. ?
-
wtf? explain what do you want to do
-
mirrors: http://www.files.to/get/933541/dsqig5ut6i http://www.files.to/get/933542/jw677yy57f
-
Search before posting. answer was already posted This is rather client problem, and should happen on ALL servers. Does it happen with remote servers too?
-
example = script. give me well scripted code that is causing this.
-
give some code to reproduce "not always working" - i was using this function many times in complicated scripts - and it was ALWAYS working..
-
if you are using it correctly - it's working. and who told you it requires timer?? O_O this topic doesnt make sense
-
it's not from wiki either. and read carefully, damn.. dont ask me in which file cause I dont know - im not in race editing - better wait for SolidSnake to come to the forums and reply (dont bother via PM if you thought about it)
-
How are you going to do that? Afaik - it's impossible. BTW: Read my sig. Especially that part about capitals in my nickname Thanks
-
easy man, no need to use such words.. And this is isn't yours, it's made by SolidSnake, so maybe stop calling this "my script"? This need to be put in race resource to work. START LEARNING. Random copying and pasting or writing random words won't work. NEVER. Everything have to be logically build.
-
STOLEN. We can see if you stole something or not. Just stop trying. Topic locked.
-
until you find DFF - it's impossible. (or maybe this mod is replacing just textures? then it's possible - can you post link to this vehicle mod? NOT directly to zip/rar but to the page you downloaded this mod from)
-
TXD is texture DFF is model These are DIFFERENT files. You can't generate one from another. You need them both! edit: wtf? This in MAPS support? Uhm.. Where to put it.. Server support I guess..
-
Also try removing any d3dx9_*.dll file you can find in your GTASA folder. Upgrade your grapic drivers. If still nothing - downgrade them. Tell us your OS and graphic card model.
-
WTF IS THIS? This is first one and the last one I'm fixing something for you - just to let you know the correct way. But dude - learn scripting. Read THE BASICS until you get them, don't skip anything. You CAN'T just put random words and willing it to work. What is "leczenie1", when you are triggering this ugly function called "duty"? ONE -- BIG -- MESS. local marker1 = createMarker( 1599.6259765625, 1815.3583984375, 10.026741409302, 'cylinder', 2.0, 0, 250, 0, 150 ) function bad(playerSource, command) if isElementWithinMarker(playerSource) then outputChatBox("/cm", playerSource, 0, 255, 0) -- this one is weird - to "display" entered command, but whatever setElementHealth(playerSource, 200) end end addCommandHandler("cm", bad) now: CLICK HERE ** CLICK HERE ** CLICK HERE And if you ignore what I wrote and reply only "thanks" or even nothing.. argh..
-
i said doing this like that function startSound () local sound = playSound("armysound.mp3", false) setSoundVolume(sound, 1.0) end function lol () if isElement(sound) == playing then setSoundVolume(sound, 0.0) end end will make new sound created every play - you are only muting sound but its actually playing. in some extreme conditions it will be slowing down pc and may cause crash too. also i said use global variable OR isElement, you mixed it without thinking what are you really doing.. if isElement(sound) == playing then FIX: function startSound() if not isElement(sound) then -- if our sound is not existing we can create one sound = playSound("armysound.mp3", false) -- can't be local, because there will be no way to stop it (okay, there is one way but.. whatever) setSoundVolume(sound, 1.0) -- i think this is default volume.. do we really need it? end end function lol() if isElement(sound) then -- if our sound is existing - we will stop it stopSound(sound) end end
-
post your code again
