client_cmd
Code:
client_cmd(players[i],"speak ^"phone/beep^"") |
Re: client_cmd
Can't you use
Code:
|
Re: client_cmd
well the problem is obviously in the indexs held in the players[i]. if we cold see the rest of the code we can tell you why its not executing on you.
|
Re: client_cmd
oke i am off to get some food now after that i will thanks in advance
|
Re: client_cmd
Quote:
|
Re: client_cmd
try this instead of the speak:
Code:
emit_sound(players[i], CHAN_AUTO, "phone/beep.wav", 1.0, ATTN_NORM, 0, PITCH_NORM) |
Re: client_cmd
well if the file he want to emit is wav then use emit_sound but emit_sound doesnt support mp3 . so if he wants to use an mp3 he has to use the speak.
|
Re: client_cmd
true, or:
mp3 play ... |
Re: client_cmd
Correct me if I'm wrong, but I think the fact that he is an admin has to do with it. Does the immunity flag prevent client_cmd() from being executed on the client?
Too lazy to look at the client_cmd function at the moment. |
Re: client_cmd
No^
Play, speak and spk all work the same afaik, add .wav to the end and see if it works. client_cmd(0,"speak phone/beep.wav") If its an mp3 use "mp3 play phone/beep.mp3" Precaching a file or putting it in a .res file will mean clients download it |
| All times are GMT -4. The time now is 07:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.