View Single Post
  #7  
Old 01-16-2009, 12:28 AM
[email protected] zeektheman2@hotmail.com is offline
SirZeek
Join Date: May 2008
Posts: 37
zeektheman2@hotmail.com is on a distinguished road
Quote:
Originally Posted by [email protected] View Post
Ok, So I scripted a car on my server and it works fine. I have a script to where if you press "f", it will play the horn noise I made. here is the script.

function onKeyPressed() {
if (keydown2(getkeycode("f"), true)) {
playlooped carhorn-1.wav;
}
}


I hear it fine, But I ask other people if they hear it, and they dont. How can I make this to where others can hear my horn noise to?

Please help.

thanks

-jamerson
PHP Code:
function onTimeOut()
{
 if (
keydown2(getkeycode("f"), true))
 {
  
playlooped("carhorn-1.wav");
 }
 
setTimer(0.05);

Try this it should work
Reply With Quote