I need help with Cars
I dont know crap about cars for scripting, but how would i make cars have horns so you could bind horn to a key???
pre-Thanks |
Don't really get what you're saying, but if you want to script this out than this does belong in this section.
So anyways, I guess you could register a client command for a button (let's say 'x') Code:
And from there you could precache a sound. Code:
From there you can do it. :) |
Werent you going to tell him how to emit the sound?
|
yes, how would you emit the sound and also:
1) How can you determine whether or not a player is driving the car when he says /horn. If he isnt then no horn noise. 2) Would the sound be coming from the actual car, or even the player i suppose, and be hearable by all players on the server who would be able to tell where the noise origionated. The sound being 3d and affected by distance. |
i would rather have it concmd and binded
the server would get flooded with /horn |
| All times are GMT -4. The time now is 16:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.