AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Fix pls :) (https://forums.alliedmods.net/showthread.php?t=170632)

Mix97 10-27-2011 08:17

Fix pls :)
 
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)
}

Xellath 10-27-2011 08:25

Re: Fix pls :)
 
Quote:

Originally Posted by Mix97 (Post 1584154)
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"


enjoi. 10-27-2011 08:29

Re: Fix pls :)
 
http://forums.alliedmods.net/showthread.php?t=169067


All times are GMT -4. The time now is 14:23.

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