Raised This Month: $51 Target: $400
 12% 

is loading song able to be edited?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rexy PHATsac 420
Member
Join Date: Aug 2007
Location: South Carolina
Old 10-18-2007 , 23:23   is loading song able to be edited?
Reply With Quote #1

i just just wondering if the loading song can be edited by me with whatever song i would like to have. if so could you please instruct me on how to do this? thanks
__________________
Check Us Out
Rexy PHATsac 420 is offline
Send a message via MSN to Rexy PHATsac 420
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 10-19-2007 , 15:22   Re: is loading song able to be edited?
Reply With Quote #2

You have to change quite a bit of code. Since its so big, the code is everywhere, as in the very top the middle and the bottom. What I suggest is disabling the loading sound and go to the original plugin and use that, its much easier. THey have examples and Ill show you and example also, which you can change the names of the songs and compile yourself.

PHP Code:
#include <amxmodx>
#define Maxsounds 5

public plugin_precache() { 
precache_sound("misc/RoadtoZion2.mp3"
precache_sound("misc/trance6.mp3"
precache_sound("misc/trance7.mp3"
precache_sound("misc/trance8.mp3"
precache_sound("misc/trance10.mp3"
return 
PLUGIN_CONTINUE 
}

new 
soundlist[Maxsounds][] = {"RoadtoZion2","trance6","trance7","trance8","trance10"}

public 
client_connect(id) {
    new 
i
    i 
random_num(0,Maxsounds-1)
    
client_cmd(id,"mp3 play sound/misc/%s",soundlist[i])
    return 
PLUGIN_CONTINUE
}

public 
plugin_init() {
    
register_plugin("Loading Sound","1.0","AMXX")
    return 
PLUGIN_CONTINUE

__________________
bmann_420 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:28.


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