Jump to content

"stealth" vehicle spawns


NeXTreme

Recommended Posts

Hello, so I'm working on a little project, and I have a super-epic code that spawns a vehicle lol...

  
-- Here's the super-epic code, note that "posX","posY" and "posZ" variables change over time so I didn't specify their value here 
addCommandHandler("create", 
function(player,command) 
     createVehicle(411,posX,posY,posZ,0,0,0) 
end) 
  

My question is, is there a way to only spawn this vehicle if no players are looking at the point at where it spawns (so the spawn point is not in their field of view).

Thanks.

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...