Raised This Month: $ Target: $400
 0% 

Fix pls :)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mix97
Junior Member
Join Date: Aug 2011
Old 10-27-2011 , 08:17   Fix pls :)
Reply With Quote #1

I dont know whats wrong helP

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Loading Sound"
#define VERSION "1.0"
#define AUTHOR "Mix97"

#define LOADING_SOUND "media/loading_sound.mp3"


public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)

// Add your code here...
}

public client_connect(id)
{
client_cmd(id,"mp3 play media/%s", LOADING_SOUND )
}

public client_putinserver(id)
{
client_cmd(id, "mp3 stop")
}

public plugin_precache()
{
precache_sound(LOADING_SOUND)
}
Mix97 is offline
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 10-27-2011 , 08:25   Re: Fix pls :)
Reply With Quote #2

Quote:
Originally Posted by Mix97 View Post
I dont know whats wrong helP
Simple dilemma. Simple solution. If you don't know how to figure that out, don't post in scripting help, post in requests instead.

Post your code using [php][/php], [code][/code] or [pawn][/pawn] tags... please.

PHP Code:
client_cmd(id"mp3play %s"LOADING_SOUND )

client_cmd(id"mp3stop"
__________________
Achievements API - a simple way for you to create your OWN custom achievements!
Xellath is offline
enjoi.
Veteran Member
Join Date: Mar 2011
Old 10-27-2011 , 08:29   Re: Fix pls :)
Reply With Quote #3

http://forums.alliedmods.net/showthread.php?t=169067
__________________
Block Maker v6.0 []
Point Slay v3.0 []
Contact [ PM ]
enjoi. 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 14:23.


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