[Ajuda] [YSF]SetVehicleParamsSirenState nгo funciona! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] [YSF]SetVehicleParamsSirenState nгo funciona! (
/showthread.php?tid=624779)
[YSF]SetVehicleParamsSirenState nгo funciona! -
RazorGuigo - 22.12.2016
ae alguйm ajuda ae? isso aqui nгo estб funcionando nгo sei pq...
PHP код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
if(PlayerInfo[prf_id][playerid]== P_GUARDAMUNICIPAL)
{
new string[144];
new debugbilada= IsVehicleSirenEnabled(vehicleid);
ToggleVehicleSirenEnabled(vehicleid, true);
SetVehicleParamsSirenState(vehicleid, 1);
SendClientMessage(playerid, BRANCO, "vocк confiscou este veiculo, para usar em uma perseguiзгo");
SendClientMessage(playerid, BRANCO, "pode acionar uma sirene giroflex, para fazer seu trabalho!");
format(string, sizeof(string), "Estado antigo: %d estado novo %d", debugbilada, IsVehicleSirenEnabled(vehicleid));
SendClientMessage(playerid, VERDE, string);
}
}
alguйm pode me dizer o que tenho q fazer para funcionar corretamente?
ps: plugin atualizado a ultima versгo (compilado este mкs)
Re: [YSF]SetVehicleParamsSirenState nгo funciona! -
PT - 22.12.2016
Devias falar no tуpico deles para ver se nгo tб bugado
Respuesta: [YSF]SetVehicleParamsSirenState nгo funciona! -
RazorGuigo - 23.12.2016
mas no caso qual topico eu falo, ja que o topico original foi excluнdo?