Tuning Infernus:
if (strcmp(\"/tuninginf\", cmdtext, true, 10) == 0)
{
new object, object2, object3, object4;
new veh;
new Float:pX, Float:pY, Float:pZ, Float:pAngle;
GetPlayerPos(playerid, pX, pY, pZ);
GetPlayerFacingAngle(playerid, pAngle);
new pInterior = GetPlayerInterior(playerid);
new pVirtualworld = GetPlayerVirtualWorld(playerid);
veh = CreateVehicle(411, pX, pY, pZ, pAngle, 0, 0, -1);
LinkVehicleToInterior(veh, pInterior);
SetVehicleVirtualWorld(veh, pVirtualworld);
PutPlayerInVehicle(playerid, veh, 0);
object = CreateObject(1171, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 300);
AttachObjectToVehicle(object, veh, -1.0, 2.1, -0.05, 1.42, 0.2, 1.4);
object2 = CreateObject(1164, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 300);
AttachObjectToVehicle(object2, veh, -0.0041, -2.52, 0.3211, 0.0, 0.0, 0.0);
object3 = CreateObject(1144, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 300);
AttachObjectToVehicle(object3, veh, 0.40, 1.8888, 0.15, -6.0, 0.0, 0.0);
object4 = CreateObject(1144, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 300);
AttachObjectToVehicle(object4, veh, -0.40, 1.8888, 0.15, -6.0, 0.0, 0.0);
return 1;
}
Tuning Feltzer:
if (strcmp(\"/tuningfeltz\", cmdtext, true) == 0)
{
new object,object2;
new veh;
new Float:pX, Float:pY, Float:pZ, Float:pAngle;
GetPlayerPos(playerid, pX, pY, pZ);
GetPlayerFacingAngle(playerid, pAngle);
new pInterior = GetPlayerInterior(playerid);
new pVirtualworld = GetPlayerVirtualWorld(playerid);
veh = CreateVehicle(533, pX, pY, pZ, pAngle, 0, 0, 6000);
LinkVehicleToInterior(veh, pInterior);
SetVehicleVirtualWorld(veh, pVirtualworld);
PutPlayerInVehicle(playerid, veh, 0);
object = CreateObject(1128, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 300);
AttachObjectToVehicle(object, veh, -0.0041, -0.1010, 0.12, 0.0, 0.0, 0.0);
object2 = CreateObject(1162, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 300);
AttachObjectToVehicle(object2, veh, -0.0041, -2.52, 0.2, 0.0, 0.0, 0.0);
return 1;
}