[Ajuda] Duvida - 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] Duvida (
/showthread.php?tid=463766)
Duvida -
MoonRey - 13.09.2013
Olб, queria saber se tem algum jeito de deixar o veiculo imovel, mas sу ele imovel, porque quero fazer que quando o veiculo estiver saindo fumaзa o veiculo pare e apareзa uma mensagem dizendo "O Veiculo estб quebrado e nгo pode mais andar". O TogglePlayerControllable nгo deixa nem o Player sair do carro, ai queria saber se tem algum outro jeito =/
Re: Duvida -
PT - 13.09.2013
claro que sim desligando o motor
pawn Код:
new engine, lights, alarm, doors, bonnet, boot, objective, vid = GetPlayerVehicle(playerid);
GetVehicleParamsEx(vid, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(vid, VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective);
Re: Duvida -
MoonRey - 13.09.2013
LOL nem sabia disso, muito obrigado :3