[Ajuda] [YSF]SetVehicleParamsSirenState nгo funciona!
#1

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)
Reply
#2

Devias falar no tуpico deles para ver se nгo tб bugado
Reply
#3

mas no caso qual topico eu falo, ja que o topico original foi excluнdo?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)