Quote:
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