Search Archive

Code Help Needed

By mr_cs · Aug 25, 2009in Hacks/Mods💬 4 posts👁️ 768 views
Posted Aug 25, 2009 · 19:40 UTC#1

I am trying to PLAYSOUND if two conditions are satisfied. I suspect that I have my ' in the wrong place.

 

else_runif vSCAudibleAlert 3 'runif vCurrentSpeedcamCategory 0 'PLAYSOUND "Mobile_Camera"''

 

Can anyone help me to put it right.

 

Thanks

 

Colin

Posted Aug 25, 2009 · 19:43 UTC#2
I am trying to PLAYSOUND if two conditions are satisfied. I suspect that I have my ' in the wrong place.

 

else_runif vSCAudibleAlert 3 'runif vCurrentSpeedcamCategory 0 'PLAYSOUND "Mobile_Camera"''

 

Can anyone help me to put it right.

 

Thanks

 

Colin

 

try this

else_runif vSCAudibleAlert 3 ,vCurrentSpeedcamCategory 0 'PLAYSOUND "Mobile_Camera"'

Posted Aug 25, 2009 · 19:51 UTC#3

Thanks, I'll try that

 

Colin

Posted Aug 26, 2009 · 09:20 UTC#4

I tried this but it didn't work. I wonder if the , might be in the wrong place i.e.

 

else_runif vSCAudibleAlert 3, vCurrentSpeedcamCategory 0 'PLAYSOUND "Mobile_Camera"'

 

rather than

 

else_runif vSCAudibleAlert 3 ,vCurrentSpeedcamCategory 0 'PLAYSOUND "Mobile_Camera"'

 

As you will gather I am a real novice, who is trying to learn to do things myself, rather than just copy what others have done.

 

 

Thanks

 

Colin