Raised This Month: $ Target: $400
 0% 

Loadingsound more than 1 Sound.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
PepsiSexy
Member
Join Date: Aug 2013
Old 08-05-2013 , 18:16   Loadingsound more than 1 Sound.
Reply With Quote #1

Hello. Currently im using this simple loadingsound Plugin but i want that you can put in 3 Sounds and 1 is randomly playing if you connect. could someone do it for me please? please do it so that i can use .mp3 files. But .wav is also good. Mp3 or Wav? What is better, please use the better way. Thank you in advance
PHP Code:
#include <amxmodx>



public plugin_precache() {
    
precache_sound("misc/myfile.mp3")
    return 
PLUGIN_CONTINUE
}


public 
client_connect(id) {
    
client_cmd(id,"mp3 play sound/misc/myfile.mp3")
    return 
PLUGIN_CONTINUE
}



public 
plugin_init() {
    
register_plugin("Loadingsound","1.0","Lambo")
    return 
PLUGIN_CONTINUE

PepsiSexy is offline
 



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 15:46.


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