23.12.2018, 22:48
Quote:
"i made it like this make it like in your code" sorry but i dont understand this sentence.... :/
|
PHP Code:
new utilitytrailer1[MAX_PLAYERS];
new utilitytrailer2[MAX_PLAYERS];
new utilitytrailer3[MAX_PLAYERS];
new utilitytrailer4[MAX_PLAYERS];
new vehid1 = NVTransportas[0] = CreateVehicle(583, -3779.2019, -1880.6560, 5.2844, 90.0000, -1, -1, 100);
new vehid2 = NVTransportas[1] = CreateVehicle(583, -3778.9314, -1884.0042, 5.2844, 90.0000, -1, -1, 100);
new vehid3 = NVTransportas[2] = CreateVehicle(583, -3778.3508, -1887.5313, 5.2844, 90.0000, -1, -1, 100);
new vehid4 = NVTransportas[3] = CreateVehicle(583, -3777.9119, -1890.9458, 5.2844, 90.0000, -1, -1, 100);
//--------------------------------------------------------------------------------------------------------//
utilitytrailer1[playerid] = CreateVehicle(611, -3775.2961, -1880.6464, 5.4584, 90.0000, -1, -1, 100);
utilitytrailer2[playerid] = CreateVehicle(611, -3775.0056, -1884.0587, 5.4584, 90.0000, -1, -1, 100);
utilitytrailer3[playerid] = CreateVehicle(611, -3774.0906, -1890.9784, 5.4584, 90.0000, -1, -1, 100);
utilitytrailer4[playerid] = CreateVehicle(611, -3774.3333, -1887.6206, 5.4584, 90.0000, -1, -1, 100);
//--------------------------------------------------------------------------------------------------------//
AttachTrailerToVehicle(utilitytrailer1[playerid], vehid1);
AttachTrailerToVehicle(utilitytrailer2[playerid], vehid2);
AttachTrailerToVehicle(utilitytrailer3[playerid], vehid3);
AttachTrailerToVehicle(utilitytrailer4[playerid], vehid4);