addEvent ( "onPlayerPickUpRacePickup", true )
addEventHandler ( "onPlayerPickUpRacePickup", getRootElement(),
function ( id, type, model )
if type == "vehiclechange" and tonumber(id) == 425 then
RaceMode.endMap()
end
end )
Read further...
viewtopic.php?f=91&t=78826&start=30
Last script posted and read further for explanation. (If he didn't delete it, too long ago to remember )
Go in-game, press t and typ: /debugscript 3
Or press F8 and then typ: debugscript 3
Restart the resource and it will show all errors and so on.
But with merging two scripts together and there are alot of errors, I think I don't want to help, but will see.