SA-MP Forums Archive
[FilterScript] [FS] - Vehicle Creator - 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)
+----- Forum: Lançamentos/Releases (https://sampforum.blast.hk/forumdisplay.php?fid=56)
+----- Thread: [FilterScript] [FS] - Vehicle Creator (/showthread.php?tid=186312)



[FS] - Vehicle Creator - KevinsL - 28.10.2010

Criador de veiculos in-game

Comandos:
/criarveiculo [Modelo ID] [Cor 1] [Cor 2]
/cv [Modelo ID] [Cor 1] [Cor 2]
/criarv [Modelo ID] [Cor 1] [Cor 2]

Ao criar um veiculo ele ira ser salvo em um arquivo chamado: carros.txt na pasta scriptfiles!
Depois so precisa copiar e colar no GM

Download: Clique aqui!
Pastebin: http://pastebin.com/dS3M6LjT


Re: [FS] - Vehicle Creator - Shelby - 28.10.2010

Apesar de dizer "Criador de veнculos in-game" ele nгo cria literalmente um veнculo, ele sу salva as coordenadas do veнculo para um arquivo na pasta scriptfiles e na verdade й um comando sу, nгo trкs.
A intenзгo foi boa mas o comando /save jб faz isto, vocк podia melhorar e colocar algumas coisas que o /save nгo faz, por exemplo selecionar se vocк deseja salvar em CreateVehicle, AddStaticVehicle ou AddStaticVehicleEx.

Coloca no pastebin, fica mais fбcil.

Nгo й uma critica й sу uma sugestгo, espero que nгo me entenda mal.

A intenзгo foi boa mas dб pra ficar melhor.


Re: [FS] - Vehicle Creator - KevinsL - 28.10.2010

mas o /save n salva ja como: addstaticvehicleex(blablabla); ...


Re: [FS] - Vehicle Creator - Shelby - 28.10.2010

Й, ele salva em AddStaticVehicle.
Poderia colocar para escolher o tempo de respawn na hora de criar.
/criarveiculo [Modelo ID] [Cor 1] [Cor 2] [Tempo de Respawn]

Sгo apenas sugestхes para novas atualizaзхes.


Re: [FS] - Vehicle Creator - Ichigo_Kurosaki - 28.10.2010

MUIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII ITO BOM



UP


Re: [FS] - Vehicle Creator - KevinsL - 28.10.2010

ty


Re: [FS] - Vehicle Creator - Ichigo_Kurosaki - 28.10.2010

Quote:
Originally Posted by KevinsL
Посмотреть сообщение
MUIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII ITO BOM



UP

MAIS AI EU TE PERGUNTO

1_____ E SE EU QUIZER QUE ESSE CARRO FIQUE TUNADO??

2_____ E SEU EU QUIZER FAZE-LO EM UM CANTO TIPO /BLOOD QUE O INTERIOR Й 15??

Код:
AddStaticVehicleEx(411,-1248.874267,974.797912,1041.274291,353.398803,1,1,600000);



Re: [FS] - Vehicle Creator - KevinsL - 28.10.2010

Tunar

https://sampwiki.blast.hk/wiki/AddVehicleComponent
pawn Код:
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid, X,Y,Z);
new carronaotunado = CreateVehicle(562, X,Y,Z, 0.0, 86, 86, 2500000); // veiculo
SendClientMessage(playerid, 0xFF0000AA, "veiculo criado!");
PutPlayerInVehicle(playerid, carronaotunado, 0);
new carrotunado = 0;
carrotunado = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562)
{
    AddVehicleComponent(carrotunado, 1035); // tunings
    AddVehicleComponent(carrotunado, 1037); // tunings
    AddVehicleComponent(carrotunado, 1039); // tunings
    AddVehicleComponent(carrotunado, 1041); // tunings...
    AddVehicleComponent(carrotunado, 1146);
    AddVehicleComponent(carrotunado, 1148);
    AddVehicleComponent(carrotunado, 1172);
    ChangeVehiclePaintjob(carrotunado, 0);
    ChangeVehicleColor(carrotunado, 86, 86);
    AddVehicleComponent(carrotunado, 1080);
}
Veiculo em interior

https://sampwiki.blast.hk/wiki/LinkVehicleToInterior
pawn Код:
new vehicle1 = AddStaticVehicle(559,2543.7505,-21.8345,27.1899,52.6054,53,79);
LinkVehicleToInterior(vehicle1, 6);



Re: [FS] - Vehicle Creator - [FeK]HigorOliver - 28.10.2010

Simples. rsrs