Quote:
Originally Posted by iNdio
+3 cool sounds for connection!
PHP Code:
#include <amxmodx>
new const g_szSound[ ] = "sound/musica.mp3";
public plugin_precache( )
{
precache_generic( g_szSound );
}
public client_putinserver(id){
set_task(0.3,"play",id)
}
public play(id)
{
if( is_user_bot( id ) )
return;
client_cmd( id, "mp3 play ^"%s^"", g_szSound );
}
|
Your plugin failed to compile! Read the errors below:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
/tmp/textCEbHnP.sma(20) : error 001: expected token: "}", but found "-end of file-"
1 Error.
Could not locate output file /home/groups/amxmodx/public_html/websc3/textCEbHnP.amx (compile failed).
__________________