[Ajuda] /Veh
#10

#EDIT Ficou quase igual a do Bruno nao vi antes de Postar /\

pawn Код:
CMD:v(playerid, params[])
{
      new Carro, Cor1, Cor2, Veiculo[MAX_PLAYERS];
      if(sscanf(params, "ddd", Carro, Cor1, Cor2)) return SendClientMessage(playerid, -1, "[x] Use: /v [ id ] [ cor 1 ] [ cor 2 ]");
      if(Cor1 < 1 || Cor1 > 255) return SendClientMessage(playerid, -1, "[x] Cores Possivel de 1 a 255");
      DestroyVehicle(Veiculo[playerid]);
      new Float:PosX, Float:PosY, Float:PosZ;
      GetPlayerPos(playerid, PosX, PosY, PosZ);
      Veiculo[playerid] = CreateVehicle(Veiculo, PosX, PosY, PosZ, 0.0, Cor1, Cor2, -1);
      PutPlayerInVehicle(playerid, Veiculo[playerid], 0);
      return 1;
}
Reply


Messages In This Thread
/Veh - by Gabriel Santana - 15.08.2012, 19:07
Re: /Veh - by Gabriel Santana - 15.08.2012, 19:31
Re: /Veh - by denis15711 - 15.08.2012, 19:31
Respuesta: /Veh - by Digao - 15.08.2012, 19:32
Re: /Veh - by denis15711 - 15.08.2012, 19:33
Re: /Veh - by RafaScripter - 15.08.2012, 19:38
Re: /Veh - by Psat - 15.08.2012, 20:04
Re: /Veh - by .ThePro - 15.08.2012, 23:22
Re: /Veh - by Bruno Alves - 16.08.2012, 00:00
Re: /Veh - by Maklister - 16.08.2012, 01:57

Forum Jump:


Users browsing this thread: 1 Guest(s)