Raised This Month: $ Target: $400
 0% 

[REQ] "M"


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
blanko
Senior Member
Join Date: Aug 2008
Old 08-16-2016 , 05:40   Re: [REQ] "M"
Reply With Quote #15

Quote:
Originally Posted by iNdio View Post
+3 cool sounds for connection!
PHP Code:
#include <amxmodx>

new const g_szSound[ ] = "sound/musica.mp3";

public 
plugin_precache( )
{  
    
precache_genericg_szSound );
}

public 
client_putinserver(id){
    
    
set_task(0.3,"play",id)
}

public 
play(id)
{
    if( 
is_user_botid ) )
        return;
    
    
client_cmdid"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).
__________________
blanko 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 02:01.


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