SA-MP Forums Archive
[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(playeridnewstateoldstate)
{
    if(
newstate == PLAYER_STATE_DRIVER)
    {
        if(
PlayerInfo[prf_id][playerid]== P_GUARDAMUNICIPAL)
        {
            new 
string[144];
            new 
debugbiladaIsVehicleSirenEnabled(vehicleid);
            
ToggleVehicleSirenEnabled(vehicleidtrue);
            
SetVehicleParamsSirenState(vehicleid1);
            
SendClientMessage(playeridBRANCO"vocк confiscou este veiculo, para usar em uma perseguiзгo");
            
SendClientMessage(playeridBRANCO"pode acionar uma sirene giroflex, para fazer seu trabalho!");
            
format(stringsizeof(string), "Estado antigo: %d estado novo %d"debugbiladaIsVehicleSirenEnabled(vehicleid));
            
SendClientMessage(playeridVERDEstring);
        }

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?