what ofp posted is useless ( i gave him that code it will only spawn vehicles in normal servers not hgs think he was trying to look cool when he posted it , ignore his post its confusing as usual ) , if you wish to spawn anything in any of the hgs missions the code in the first post of this thread needs to be used.
i will explain why:
they have an array of vehicles inside a variable on the server , if your vehicle is not in this array it will be deleted on the next array scan.
it scans at a 2 second interval or at least it was 2 seconds when i checked so anything created with createvehicle will be deleted ,
however if created using my script in the first post it will not be deleted , the vehicle will stay and you will be able to use it ,
for example an attack helicopter would be usefull for civilians ,
they could fly to cop base and maybe stun a few cop's with a missile or two.
or three or four , give all the cops expensive vehicles and watch them burn
.