SA-MP Forums Archive
[Script] Ajuda - 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: [Script] Ajuda (/showthread.php?tid=347331)



[Script] Ajuda - Gustavo_Samp - 01.06.2012

Olб pessoal gostaria de saber como que й o script de quando o PLAYER sai do server carro dele й distruido automaticamente?


AW: [Script] Ajuda - kinhobryant - 01.06.2012

Coloca isso na onPlayerExitVehicle

pawn Код:
new Veh;
Veh = GetPlayerVehicleID(playerid);
DestroyVehicle(Veh);



Re: AW: [Script] Ajuda - ViniBorn - 01.06.2012

Quote:
Originally Posted by kinhobryant
Посмотреть сообщение
Coloca isso na onPlayerExitVehicle

pawn Код:
new Veh;
Veh = GetPlayerVehicleID(playerid);
DestroyVehicle(Veh);
OnPlayerExitVehicle jб tem parвmetro relacionado ao veнculo.
pawn Код:
DestroyVehicle(vehicleid);



Re: [Script] Ajuda - Edu33 - 01.06.2012

Vini por exemplo, se o cara entrar em qualquer veнculo e sair ele some nй? '-'


AW: [Script] Ajuda - kinhobryant - 01.06.2012

Claro On‌playerExitVehicle = Player sair do veiculo


Re: [Script] Ajuda - ViniBorn - 01.06.2012

Sim ...

Mas vocк pode adicionar exceзхes se assim preferir


Re: AW: [Script] Ajuda - Edu33 - 01.06.2012

Quote:
Originally Posted by kinhobryant
Посмотреть сообщение
Claro On‌playerExitVehicle = Player sair do veiculo
Tф ligado.

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
Sim ...
Mas vocк pode adicionar exceзхes se assim preferir
Hmm tendi, tipow o sistema de car spawner que uso nгo й ''vehicleid'' e sim ''Vplayer''
Dai eu posso colocar pra deletar qualquer outro que ele entrar menos o ''Vplayer''?


Re: [Script] Ajuda - ViniBorn - 01.06.2012

Claro ...

Й sу adicionar o ID especнfico а exceзгo
pawn Код:
if(vehicleid != Vplayer)
    DestroyVehicle(vehicleid);
Algo parecido com isso


Re: [Script] Ajuda - Edu33 - 01.06.2012

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
Claro ...

Й sу adicionar o ID especнfico а exceзгo
pawn Код:
if(vehicleid != Vplayer)
    DestroyVehicle(vehicleid);
Algo parecido com isso
Ok meu brother, vlw! sу nгo dou rep porque nгo dб porque dei recentemente...
Mas vai os agradecimentos