Raised This Month: $ Target: $400
 0% 

[REQ] "M"


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-15-2016 , 21:32   Re: [REQ] "M"
Reply With Quote #8

Quote:
Originally Posted by pupdebox View Post
Code:
#include <amxmodx>

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

public play(id)
{
client_cmd(id,"mp3 play mp3\musica.mp3")
}
enjoy, you wanted to run this code "mp3 play mp3\musica.mp3". Therefore, i didnt add the precache part.
You should check if the user is connected before calling client_cmd().
__________________
fysiks 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