Egy példa:
tunedcar32 = AddStaticVehicle(565,784.7065,-1349.8866,13.1678,90.5655,0,0); // //
AddVehicleComponent(tunedcar32,1150);//
AddVehicleComponent(tunedcar32,1053);//
AddVehicleComponent(tunedcar32,1010);// nitro
AddVehicleComponent(tunedcar32,1074);//
AddVehicleComponent(tunedcar32,1054);//
AddVehicleComponent(tunedcar32,1049);//
public OnGameModeInit() alá!!!
Na igy kerek :D
Mod elejére:
new tunedcar 32;
public OnGameModeInit()
alá!
tunedcar32 = AddStaticVehicle(565,784.7065,-1349.8866,13.1678,90.5655,0,0); // //
AddVehicleComponent(tunedcar32,1150);//
AddVehicleComponent(tunedcar32,1053);//
AddVehicleComponent(tunedcar32,1010);// nitro
AddVehicleComponent(tunedcar32,1074);//
AddVehicleComponent(tunedcar32,1054);//
AddVehicleComponent(tunedcar32,1049);//
Hogy respawn után is tuningolva legyen:
public OnVehicleSpawn(vehicleid)
alá!
if (vehicleid == tunedcar32)
{
AddVehicleComponent(tunedcar32,1150);//
AddVehicleComponent(tunedcar32,1053);//
AddVehicleComponent(tunedcar32,1010);// nitro
AddVehicleComponent(tunedcar32,1074);//
AddVehicleComponent(tunedcar32,1054);//
AddVehicleComponent(tunedcar32,1049);//
}
:P