Jump to content
  • 0

Custom Vehicle Spawns


prue420

Question

How  would I go about making A custom vehicle spawn? I made A AI city and I want the reward to be a armed chopper but i still want it to disappear if the person completes the Ai city after restart and be back in the Ai city after restart.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

search the forums for vehicle spawn code.

 

for 'let_only_the_right_one_in' feature, you will need to get your server-side scripting hands dirty:

  1. get lucky player's PUID
  2. add a GetIn EH
  3. when EH fires, compare PUID
  4. if PUID does not match eject all (and be nice & inform the player why he's being auto-ejected)
  5. keep waiting till lucky one gets in
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...