Raised This Month: $32 Target: $400
 8% 

Musica de fondo


  
 
 
Thread Tools Display Modes
Author Message
LuKks
Senior Member
Join Date: Dec 2012
Location: Argentina, Santa Fe
Old 05-11-2013 , 22:06   Musica de fondo
#1

este thread lo hago en respuesta al otro que cerraron, no se si se puede hacer esto pero bueno, cualquier cosa lo borran o algo

PHP Code:
#include <amxmodx>

new const sonido[] = { "fondo.mp3" 

public 
plugin_init()
    
register_plugin("Musica de Fondo""1.0"";LuKks.-'")

public 
plugin_precache()
    
precache_sound(sonido)

public 
client_putinserver(id)
    
PlaySound(idsonido)

// code MATIANS
PlaySound(id, const sound[])  
{  
    if (
equal(sound[strlen(sound)-4], ".mp3"))  
        
client_cmd(id"mp3 play ^"sound/%s^""sound)  
    else  
        
client_cmd(id"spk ^"%s^""sound)  


Last edited by LuKks; 05-11-2013 at 22:08.
LuKks is offline
MexPower
Veteran Member
Join Date: Nov 2012
Old 05-11-2013 , 22:58   Re: Musica de fondo
#2

No le agregas direccion al const, ademas chequeas si es mp3 o waw y en el const tienes .mp3
__________________
Allied Modders En Español
MexPower is offline
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 05-11-2013 , 23:16   Re: Musica de fondo
#3

yo no entiendo como no fuiste baneado
__________________

www.amxmodx-es.com

Steam: Luchokoldo
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
baneado
Veteran Member
Join Date: Dec 2012
Location: amxmodx-es.com
Old 05-12-2013 , 05:49   Re: Musica de fondo
#4

Quote:
Originally Posted by rak View Post
yo no entiendo como no fuiste baneado
sí que fue baneado, pero no permanente
baneado is offline
Winchester90
Senior Member
Join Date: May 2013
Location: Dale! RG4L Baby
Old 05-12-2013 , 06:06   Re: Musica de fondo
#5

Quote:
Originally Posted by rak View Post
yo no entiendo como no fuiste baneado
Yo nose si podria responderlo a mejor pero ese code es un asco tal como lo vi.

PD:
PHP Code:
new const sonido[] = { "fondo.mp3""tu_mai.wav" 

Last edited by Winchester90; 05-12-2013 at 06:15.
Winchester90 is offline
Manu127
Veteran Member
Join Date: Jul 2010
Location: Argentina
Old 05-12-2013 , 10:01   Re: Musica de fondo
#6

Quote:
Originally Posted by Winchester90 View Post
Yo nose si podria responderlo a mejor pero ese code es un asco tal como lo vi.

PD:
PHP Code:
new const sonido[] = { "fondo.mp3""tu_mai.wav" 
Te invito a que hagas uno mejor...
__________________
Manu127 is offline
Send a message via MSN to Manu127 Send a message via Skype™ to Manu127
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 05-12-2013 , 13:06   Re: Musica de fondo
#7

Quote:
Originally Posted by baneado View Post
sí que fue baneado, pero no permanente
Quote:
Originally Posted by LuKks View Post
PHP Code:
precache_sound("StygiaGamesWiiiiiiiiiii----XD.mp3"
Quote:
Originally Posted by LuKks View Post
jajajaja, lei que se puede publicitar server o algo asi pero no masivamente, yo lo hago pero no masivamente asi que no me debaran dar ban xD
Quote:
Originally Posted by LuKks View Post
si es doble protocolo.
debería ser baneado permanentemente
__________________

www.amxmodx-es.com

Steam: Luchokoldo
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
baneado
Veteran Member
Join Date: Dec 2012
Location: amxmodx-es.com
Old 05-12-2013 , 14:50   Re: Musica de fondo
#8

Quote:
Originally Posted by rak View Post
debería ser baneado permanentemente
yo también lo dije pero wee
baneado is offline
Old 05-12-2013, 17:17
Roccoxx
This message has been deleted by lucas_7_94.
Old 05-12-2013, 17:41
MexPower
This message has been deleted by lucas_7_94.
 



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 08:29.


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