[DUDA]> Como hacer este comando?
#5

Quote:
Originally Posted by oOFotherOo
Посмотреть сообщение
pawn Код:
dcmd_reproducir(playerid, params[])
{
 if(PlayerInfo[playerid][Level] >= 6) {
 for(new i = 0; i < MAX_PLAYERS; i++)
 {
 PlayAudioStreamForPlayer(i, params);
 }
 } else return SendClientMessage(playerid,red, "ERROR: Necesitas ser un creador para usar este comando");
 return 1;
}
Pruebe asi.

Un saludo.

EDIT: Esto no aplicarб el sonido a los jugadores al mismo tiempo ya que es un loop y va aumentando hasta llegar a su maximo, pero solamente son unos MS de diferencia los cuales no son notables.
Te faltт el (reproducir,4,cmdtext);
Reply


Messages In This Thread
[DUDA]> Como hacer este comando? - by Matthias134 - 15.02.2013, 00:14
Respuesta: [DUDA]> Como hacer este comando? - by pinpon - 15.02.2013, 00:20
Respuesta: [DUDA]> Como hacer este comando? - by CrossOv3r - 15.02.2013, 00:25
Respuesta: [DUDA]> Como hacer este comando? - by oOFotherOo - 15.02.2013, 00:26
Respuesta: [DUDA]> Como hacer este comando? - by pinpon - 15.02.2013, 00:30
Respuesta: [DUDA]> Como hacer este comando? - by Matthias134 - 15.02.2013, 00:49

Forum Jump:


Users browsing this thread: 1 Guest(s)