Have you read the
respawnVehicle article on the biki?
And here's a BIS forum thread on it's use I made a while back...
Another Vehicle Respawnbasically, there are 2 methods of vehicle respawn.
1. Use the built-in 'respawnVehicle' command and
2. use the 'createVehicle' command
it's just my opinion but i like the 'respawnVehicle' usage... the problem with
both methods is that it requires extra scripting for it to 'look good' - that is you want the vehicle to respawn in the same place pointing in the same direction etc.
to get basic respawn working with the 'respawnVehicle' command it's as Mr. Peanut said, just put the command 'this respawnVehicle [300,5];' in the init line.
Also, you need base respawn set (preferable to instant) in the 'description.ext' file and you need a marker at your various bases for the given side as per the biki...
have a look at the coding in
this example mission if you want more complicated 'respawnVehicle'...
note:- This ftp link is not available 24/7...cheers, Synide