PlayerPlaySound estб falhando! -
Government - 02.08.2015
Й o seguinte, parece que alguns sons nгo estгo funcionando.
Aonde й que estб o erro?
OBS: Nгo hб nada de errado com o meu server, estб tudo certo.
Re: PlayerPlaySound estб falhando! -
Dayvison_ - 02.08.2015
Posta o codigo, voce esta usndo erradopois esta funca funiona perfeitamente
Re: PlayerPlaySound estб falhando! -
Government - 02.08.2015
Quote:
Originally Posted by Day_
Posta o codigo, voce esta usndo erradopois esta funca funiona perfeitamente
|
Olha ae charб
GivePlayerWeapon(playerid, 22, 100);
PlayerPlaySound(playerid, 1175, 0.0, 0.0, 0.0);
A arma ta setando mais o som nгo toca.
Re: PlayerPlaySound estб falhando! -
HaRdiiZin - 02.08.2015
Veja na Wiki-samp o exemplo!
Re: PlayerPlaySound estб falhando! -
Dayvison_ - 02.08.2015
Quote:
Originally Posted by Government
Olha ae charб
GivePlayerWeapon(playerid, 22, 100);
PlayerPlaySound(playerid, 1175, 0.0, 0.0, 0.0);
A arma ta setando mais o som nгo toca.
|
Eta usando alguma hook em GivePlayerWeapon? Fora isto posta o cуdigo comleto
Re: PlayerPlaySound estб falhando! -
Byted - 02.08.2015
PlayerPlaySound(playerid, 1175, 0.0, 0.0, 10.0);
tenta isso
Re: PlayerPlaySound estб falhando! -
Government - 02.08.2015
Quote:
Originally Posted by HaRdiiZin
|
Й a mesma coisa, parece que tem algo errado com a funзгo do SA-MP.
----------------------------------------------------------------------------------------------------------------------------------
Quote:
Originally Posted by Day_
Eta usando alguma hook em GivePlayerWeapon? Fora isto posta o cуdigo comleto
|
if(pickupid == SkinPolicia)
{
if(GetPlayerSkin(playerid)== 284)
{
return 0;
}
else
{
SetPlayerSkin(playerid,284);
PlayerPlaySound(playerid, 1175, 0.0, 0.0, 0.0);
}
return 1;
}
Acho que tem algo errado no prуprio SA-MP.
----------------------------------------------------------------------------------------------------------------------------------
Quote:
Originally Posted by Byted
PlayerPlaySound(playerid, 1175, 0.0, 0.0, 10.0);
tenta isso
|
Escuta, o SA-MP tem todos os sons vбlidos? Ou estб faltando alguns sons do GTA SA?
----------------------------------------------------------------------------------------------------------------------------------
Re: PlayerPlaySound estб falhando! -
Dayvison_ - 02.08.2015
Quote:
Originally Posted by Government
PHP код:
if(pickupid == SkinPolicia)
{
if(GetPlayerSkin(playerid)== 284)
{
return 0;
}
else
{
SetPlayerSkin(playerid,284);
PlayerPlaySound(playerid, 1175, 0.0, 0.0, 0.0);
}
return 1;
}
Acho que tem algo errado no prуprio SA-MP.
----------------------------------------------------------------------------------------------------------------------------------
Escuta, o SA-MP tem todos os sons vбlidos? Ou estб faltando alguns sons do GTA SA?
----------------------------------------------------------------------------------------------------------------------------------
|
Tem todos.
Par de tentar falar que as coisas tao erradas ou nao funciona no samp.
Manda maior parte do codigo,ta usando em uma callback ou funcao? De as informacoes....
Re: PlayerPlaySound estб falhando! -
Government - 02.08.2015
Quote:
Originally Posted by Day_
Tem todos.
Par de tentar falar que as coisas tao erradas ou nao funciona no samp.
Manda maior parte do codigo,ta usando em uma callback ou funcao? De as informacoes....
|
Vocк й meio defensor do SA-MP kkkkkkkkkkkkkkkk
Й callback, mas esse й o codigo completo, o resto й so a posiзгo da pickup que nгo farб muita diferenзa.
Tenta no teu, pelo menos no meu nгo roda.