How to change this plugin?
I want to use this plugin:
https://forums.alliedmods.net/showthread.php?t=46636 Music starts to play when player is connecting to server. But stops when player is connected (he sees MOTD). How do I change plugin to play Music until player Respawn OR join to team? (Without any breaks) Here is code: Code:
/* Loading Music (easy to use directory version) |
Re: How to change this plugin?
Quote:
Plox correct me If i where Wrong Example: PHP Code:
|
Re: How to change this plugin?
I'm really Noob in scripting :P
Now the script looks like this: PHP Code:
Help please? |
Re: How to change this plugin?
I don't think that it is possible because there is nothing in the plugin that stops the music (to remove), it is the client program (game) that stops the music on it's own.
|
Re: How to change this plugin?
Quote:
|
Re: How to change this plugin?
Hmmm... Fysiks is right, I think.
I tried to play song by console command (mp3 play) and join to server - music stops in connecting moment. So, if it's impossible - I will change this plugin to play music after player connect to server (when player see MOTD, team choose etc.). What command is for this event? public client_putinserver NO... public client_authorized NO... // Sorry for My English ! |
Re: How to change this plugin?
putinserver is probably the closest without actually hooking the MOTD itself.
Quote:
|
Re: How to change this plugin?
This part of the code doesn't work :(
PHP Code:
And full script: PHP Code:
|
| All times are GMT -4. The time now is 23:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.