SA-MP Forums Archive
[Ajuda] Deixar somente o veнculo invisivel - 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] Deixar somente o veнculo invisivel (/showthread.php?tid=664523)



Deixar somente o veнculo invisivel - Paulthaz - 02.03.2019

Tem como deixar o veнculo invisivel setando o interior dele diferente do jogador, mas fazendo isso o jogador que estб dentro do veнculo tambйm ficarб invisivel dentro do veнculo. Tem como deixar somente o veнculo invisivel e somente o jogador aparecendo dentro do "veнculo fantasma"?


Re: Deixar somente o veнculo invisivel - Felipealves - 02.03.2019

LinkVehicleToInterior(veiculoid, interiorid);


Re: Deixar somente o veнculo invisivel - Paulthaz - 02.03.2019

Quote:
Originally Posted by Felipealves
Посмотреть сообщение
LinkVehicleToInterior(veiculoid, interiorid);
Como eu disse ali em cima, fazendo isso eu vou ta setando o veнculo a outro interior mas o jogador que estб dentro ele tambйm fica invisнvel. Preciso fazer sу o veнculo ficar invisivel entгo essa funзгo nгo serve.


Re: Deixar somente o veнculo invisivel - Malandrin - 02.03.2019

Acho que isso nгo й possнvel, pelo menos nгo nativamente.


Re: Deixar somente o veнculo invisivel - MultiKill - 03.03.2019

Tente utilizar o plugin Pawn RakNet para isso

Exemplo:
PHP код:
new vid GetPlayerVehicleID(playerid)
new 
Interior 1;
new 
BitStream:bs BS_New();
BS_WriteValue(bsPR_UINT16vidPR_UINT8interior);
BS_RPC(bs265PR_LOW_PRIORITYPR_RELIABLE_ORDERED);
BS_Delete(bs);
//Manda um RPC para o jogador id 2 para setar um veнculo para o interior id 1 
Lista de RPCs:
https://github.com/BrunoBM16/samp-packet-list/wiki

Caso queira saber mais:
https://sampforum.blast.hk/showthread.php?tid=642644


Re: Deixar somente o veнculo invisivel - Paulthaz - 03.03.2019

Quote:
Originally Posted by MultiKill
Посмотреть сообщение
Tente utilizar o plugin Pawn RakNet para isso

Exemplo:
PHP код:
new vid GetPlayerVehicleID(playerid)
new 
Interior 1;
new 
BitStream:bs BS_New();
BS_WriteValue(bsPR_UINT16vidPR_UINT8interior);
BS_RPC(bs265PR_LOW_PRIORITYPR_RELIABLE_ORDERED);
BS_Delete(bs);
//Manda um RPC para o jogador id 2 para setar um veнculo para o interior id 1 
Lista de RPCs:
https://github.com/BrunoBM16/samp-packet-list/wiki

Caso queira saber mais:
https://sampforum.blast.hk/showthread.php?tid=642644
Sim, tive q fazer isso msm


Re: Deixar somente o veнculo invisivel - Paulthaz - 03.03.2019

Quote:
Originally Posted by MultiKill
Посмотреть сообщение
Tente utilizar o plugin Pawn RakNet para isso

Exemplo:
PHP код:
new vid GetPlayerVehicleID(playerid)
new 
Interior 1;
new 
BitStream:bs BS_New();
BS_WriteValue(bsPR_UINT16vidPR_UINT8interior);
BS_RPC(bs265PR_LOW_PRIORITYPR_RELIABLE_ORDERED);
BS_Delete(bs);
//Manda um RPC para o jogador id 2 para setar um veнculo para o interior id 1 
Lista de RPCs:
https://github.com/BrunoBM16/samp-packet-list/wiki

Caso queira saber mais:
https://sampforum.blast.hk/showthread.php?tid=642644
@Multi, Emily mandou vc sair do notebook e lavar louзa


Re: Deixar somente o veнculo invisivel - MultiKill - 03.03.2019

Quote:
Originally Posted by Paulthaz
Посмотреть сообщение
@Multi, Emily mandou vc sair do notebook e lavar louзa
Vish, se ela mandou to indo kkkk