[Ajuda] Painel Veiculo
#7

Valeu multi, com suas dicas consegui!

Poderia me dar mais uma ajuda?

no /painel eu gostaria que o player pudesse trancar/destrancar seu veiculo sem estar nele..

pawn Код:
new engine, lights, alarm, doors, bonnet, boot, objective;
            if(listitem == 0)
            {
                GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
                if(doors == 0)
                {
                    SetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, 1, bonnet, boot, objective);
                    SendClientMessage(playerid, -1, "Vocк trancou o carro.");
                }
                else if(doors == 1)
                {
                    SetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, 0, bonnet, boot, objective);
                    SendClientMessage(playerid, -1, "Vocк destrancou o carro.");
                }
            }
Reply


Messages In This Thread
Painel Veiculo - by s4kuL - 28.06.2014, 02:33
Re: Painel Veiculo - by MultiKill - 28.06.2014, 02:45
Respuesta: Painel Veiculo - by s4kuL - 28.06.2014, 02:49
Re: Painel Veiculo - by MultiKill - 28.06.2014, 02:53
Respuesta: Painel Veiculo - by s4kuL - 28.06.2014, 02:59
Re: Painel Veiculo - by MultiKill - 28.06.2014, 03:01
Respuesta: Painel Veiculo - by s4kuL - 28.06.2014, 03:08
Re: Painel Veiculo - by MultiKill - 28.06.2014, 03:16
Respuesta: Painel Veiculo - by s4kuL - 28.06.2014, 03:39
Re: Painel Veiculo - by MultiKill - 28.06.2014, 03:44

Forum Jump:


Users browsing this thread: 2 Guest(s)