[FilterScript] [FS] - Vehicle Creator
#8

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);
Reply


Messages In This Thread
[FS] - Vehicle Creator - by KevinsL - 28.10.2010, 16:32
Re: [FS] - Vehicle Creator - by Shelby - 28.10.2010, 16:40
Re: [FS] - Vehicle Creator - by KevinsL - 28.10.2010, 16:42
Re: [FS] - Vehicle Creator - by Shelby - 28.10.2010, 16:46
Re: [FS] - Vehicle Creator - by Ichigo_Kurosaki - 28.10.2010, 17:46
Re: [FS] - Vehicle Creator - by KevinsL - 28.10.2010, 17:54
Re: [FS] - Vehicle Creator - by Ichigo_Kurosaki - 28.10.2010, 18:17
Re: [FS] - Vehicle Creator - by KevinsL - 28.10.2010, 18:29
Re: [FS] - Vehicle Creator - by [FeK]HigorOliver - 28.10.2010, 19:56

Forum Jump:


Users browsing this thread: 2 Guest(s)