Raised This Month: $ Target: $400
 0% 

Start and Stop Playing Mp3


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 01-22-2009 , 06:25   Re: Start and Stop Playing Mp3
Reply With Quote #1

You cant execute any command on player, when he's diconnected from server.
__________________
Join US - custom Zombie Server - Custom Addons:



Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 01-22-2009 , 08:06   Re: Start and Stop Playing Mp3
Reply With Quote #2

Quote:
Originally Posted by Sn!ff3r View Post
You cant execute any command on player, when he's diconnected from server.
You can.

Code:
public client_disconnect(id) {     engclient_cmd(id, "stop mp3"); // This is not the answer to Mlk22's question, just an example. }
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 01-22-2009 , 09:12   Re: Start and Stop Playing Mp3
Reply With Quote #3

Quote:
Originally Posted by Dores View Post
You can.


Code:
</p><p>public client_disconnect(id)</p><p>{</p><p> engclient_cmd(id, "stop mp3"); // This is not the answer to Mlk22's question, just an example.</p><p>}
It's "mp3 stop", not "stop mp3".
Code:
public client_disconnect(iCl)         client_cmd(iCl, "mp3 stop");
__________________
hleV is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 01-22-2009 , 10:18   Re: Start and Stop Playing Mp3
Reply With Quote #4

@hleV: Did you read the comment in that code?

"just an example".

@Sniffer: Thanks.
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ
Dores is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode