25.02.2016, 19:45
Either under OnVehicleSpawn() when the vehicles respawn, or instantly under a command or w/e:
PHP код:
// Put your values in place of objid, off_x/y/z, rot_x/y/z
for (new v = 1; v < MAX_VEHICLES; v++)
{
if (GetVehicleModel(v) != 411) continue;
AttachObjectToVehicle(objid, v, off_x, off_y, off_z, rot_x, rot_y, rot_z);
}
