![]() |
#1 |
Big Clucker
![]() ![]() Join Date: Mar 2013
Posts: 199
Reputation: 4
|
![]()
resolvido
Last edited by rCr; 29/11/2019 at 11:50 PM. |
![]() |
![]() |
![]() |
#2 |
Huge Clucker
![]() ![]() ![]() Join Date: Apr 2017
Location: Brazil
Posts: 400
Reputation: 40
|
![]() Code:
new vehicleid = InRangeOfAnyCar(playerid); If(vehicleid == -1) return SendClientMessage(playerid, -1, "não está próximo a um veículo"); |
![]() |
![]() |
![]() |
#3 |
Big Clucker
![]() ![]() Join Date: Mar 2013
Posts: 199
Reputation: 4
|
![]()
Maninho eu fiz assim, funcionou ! porém notei uma coisa, não funciona com o ultimo veículo, exemplo, se no servidor tem 10 veículos o /trancar só funciona nos 9 primeiros, o 10º diz que não tem nenhum veículo por perto, como isso ?
|
![]() |
![]() |
![]() |
#4 |
Huge Clucker
![]() ![]() ![]() Join Date: Apr 2017
Location: Brazil
Posts: 400
Reputation: 40
|
![]() |
![]() |
![]() |
![]() |
#5 |
Big Clucker
![]() ![]() Join Date: Mar 2013
Posts: 199
Reputation: 4
|
![]()
resolvido
Last edited by rCr; 29/11/2019 at 11:50 PM. |
![]() |
![]() |
![]() |
#6 | |
Huge Clucker
![]() ![]() ![]() Join Date: Apr 2017
Location: Brazil
Posts: 400
Reputation: 40
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Big Clucker
![]() ![]() Join Date: Mar 2013
Posts: 199
Reputation: 4
|
![]()
resolvido
Last edited by rCr; 29/11/2019 at 11:50 PM. |
![]() |
![]() |
![]() |
#8 |
Big Clucker
![]() ![]() Join Date: Mar 2013
Posts: 199
Reputation: 4
|
![]()
criei um veiculo com id 199 , e resolveu o problema.
mas como seria a forma correta ? o problema ta no loop do ongamemodeinit ? |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Ajuda] Trancar | FabioGTP | Português/Portuguese | 3 | 02/06/2014 03:28 PM |
[Ajuda] /trancar | Wanted_Down | Português/Portuguese | 1 | 30/04/2013 06:45 AM |
[Ajuda] /trancar | Wanted_Down | Português/Portuguese | 0 | 28/04/2013 05:31 PM |
[Pedido] TRANCAR | caiomadson | Português/Portuguese | 2 | 25/09/2012 06:02 PM |
/trancar /veiculo trancar etc.. de vip casa tudo bugado | histire | Português/Portuguese | 5 | 17/07/2011 06:19 PM |