l'unico che c'e è questo:
''
addEvent('onPlayerPickUpRacePickup')
addEvent('onPlayerPickUpRacePickupInternal', true)
addEventHandler('onPlayerPickUpRacePickupInternal', g_Root,
function(pickupID, respawntime)
if checkClient( false, source, 'onPlayerPickUpRacePickupInternal' ) then return end
local pickup = g_Pickups[table.find(g_Pickups, 'id', pickupID)]
local vehicle = g_Vehicles[source]
if not pickup or not vehicle then return end
if respawntime and tonumber(respawntime) >= 50 then
table.insert(unloadedPickups, pickupID)
clientCall(g_Root, 'unloadPickup', pickupID)
TimerManager.createTimerFor("map"):setTimer(ServerLoadPickup, tonumber(respawntime), 1, pickupID)
end
if pickup.type == 'nitro' then
addVehicleUpgrade(vehicle, 1010)
elseif pickup.type == 'vehiclechange' then
if getElementModel(vehicle) ~= tonumber(pickup.vehicle) then
clientCall(source, 'removeVehicleNitro')
setVehicleID(vehicle, pickup.vehicle)
if pickup.paintjob or pickup.upgrades then
setVehiclePaintjobAndUpgrades(vehicle, pickup.paintjob, pickup.upgrades)
end
end
end
triggerEvent('onPlayerPickUpRacePickup', source, pickupID, pickup.type, pickup.vehicle)
end
)
''