help plz
How would you make a plugin where you say a word like hello or something and a wav plays?
Itryed but only got errors |
The people around here are great, but it really helps if you could post the code that you have and then allow people to point out mistakes or show you how, using your code. This helps you beome a better coder and it helps others like me learn in the process too :)
|
would it look something like this?
Code:
|
"spk" isnt a command
|
what should it be?
|
Quote:
"spk" is a clientside command to play sounds.... |
yea its right cuz I just got it to work thanks alot :)
|
well, spk will only execute on the client side, not throughout the server unless you tell it to output to everyone
|
How would I do that? Whats the code?
I thought Code:
plays wav to all and Code:
played wav to only one client |
client_cmd(IDOFFPLAYER,"command goes here")
IDOFPLAYER is a value between 1 and 32.... if you enter 0 it executes on everyone |
So
Code:
|
no...
like this client_cmd(0,"command") |
ok ty
thats what I had already :) |
ah im used to using "speak" :x
|
spk works
|
| All times are GMT -4. The time now is 03:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.