Jump to content

Spawn car on the road in proper direction?


SzbZsmbr

Recommended Posts

So i am making a Basic Actions plugin, where you have some basic actions like, Towtruck and other services, so my question is, how can is spawn a towtruck so he is the right way on the street and there is no need to turn around. How can i achieve that, by spawning it with a PoolHandle(i dont really know how to use it)? I tried to get nearby vehicles at a random position to use their heading and position, but it crashes, i think because the position is too far away and there are no cars. Please help me!

SzbZsmbr

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...