Jump to content

Infinity_

Donator
  • Posts

    265
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Infinity_

  1. I feel like this could be a help but then it'll be a hassle through code. You'll have to call the function for each individual participant to be rendered collision-less for the aircraft & then calling the function back to bring back the collision for each individual participant again. The best solution in my opinion would be this: Any type of vehicle entering the SR zone/area should automatically re-spawn back to its original location. Should it be a disk vehicle, have the vehicle stored automatically. This will only have to be called once & is better as the area of the SR itself will be more cleaner.
  2. Since the function that handles the criminals being tased is server-sided, this wouldn't be possible. There is a solution for everything though. A line would have to be added on the server-side function to only work when the suspect itself has a higher or equal to X amount of health. Then add a function on the client only to work for the suspect having less than the X amount of health used for the server-side function. This will make it possible to disable the suspect from losing health/being killed by an officer. This idea can also be implemented further to be able to manipulate when to trigger from the client or server depending on the suspect's health, ping, etc. This can serve multiple purposes like mentioned above, players being low amounts of HP and being killed by cops. Other purposes could be when certain players lag, that can also be fixed by a simple line of code to decide when to be used on either sides should that be client or server.
  3. Options that should be considered for this type of vehicle: Option 1 - You can disable the use of this vehicle if the driver is wanted Option 2 - You can make it so if a cop tries to car jack the criminal, it'll automatically warp him into the bike Option 3 - If the driver is shot while inside of his bike, automatically causes the driver to "fall" off his bike (by removing him with removePedFromVehicle)
×
×
  • Create New...