Jump to content

» «

Need help with car generator-like code

No replies to this topic
  • Ub-Oh

    Player Hater

  • Members
  • Joined: 18 Dec 2012
  • Turkey


Posted 25 August 2017 - 10:34 AM Edited by Ub-Oh, 25 August 2017 - 10:34 AM.

 I tried to create a code for Scripthook.net that creates cars when player is near the location of the car and creates again when player takes it. I don't have any coding knowledge but I wrote something with help from tutorials (the code doesn't work).


 I wanted to make it check if player is in range 50<player<100 and if he is, check if there are any vehicles in the place the car will be created and create the car if there isn't any. The car should be flagged as no longer needed to despawn after player leaves it.
 Can somebody help me with this? Or write a new code from scratch? The code doesn't necessarily need to be in C#. It would be good if you can show how to apply it to different cars in different locations.

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users