[Pedido] Comando /trancar?
#4

Use estб funзгo:
pawn Код:
SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 1);
Exemplo:
pawn Код:
if(strcmp(cmdtext, "/trancar", true) ==0)
  {  
         SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 1);
         SendClientMessage(playerid, Cor_Aqui, " Veiculo Trancado ";
  }
Agora sу adaptar, use essa funзгo para destrancar:
pawn Код:
SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 0);
Reply


Messages In This Thread
[Pedido] Comando /trancar? - by Styfler_ZikaDaBalaDa - 05.08.2012, 19:43
AW: [Pedido] Comando /trancar? - by billy the kid - 05.08.2012, 19:50
Re: AW: [Pedido] Comando /trancar? - by Styfler_ZikaDaBalaDa - 05.08.2012, 21:05
Re: [Pedido] Comando /trancar? - by Shadow Black - 05.08.2012, 21:18
Re: [Pedido] Comando /trancar? - by Styfler_ZikaDaBalaDa - 05.08.2012, 21:28
AW: [Pedido] Comando /trancar? - by billy the kid - 05.08.2012, 21:30
Re: [Pedido] Comando /trancar? - by Styfler_ZikaDaBalaDa - 05.08.2012, 21:43
Re: [Pedido] Comando /trancar? - by rjjj - 05.08.2012, 21:55
AW: [Pedido] Comando /trancar? - by billy the kid - 05.08.2012, 22:00
Re: [Pedido] Comando /trancar? - by Styfler_ZikaDaBalaDa - 05.08.2012, 22:08

Forum Jump:


Users browsing this thread: 2 Guest(s)