News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: How to make a ped flee using a bike through lua?  (Read 1585 times)

0 Members and 1 Guest are viewing this topic.

Offline UltimateGamer9

  • Full Member
  • ***
  • Posts: 190
  • Gender: Male
    • View Profile
How to make a ped flee using a bike through lua?
« on: July 26, 2015, 03:57:03 AM »
I don't mean to be rude. I want to know how to do that. I tried VehicleMoveToXYZ() just doesn't work and I had'nt tell you this I know about lua and mods thanks to lua tutorials. Anyway, I knew a code for the drive by mod by Dream Is Dead but all i need just make a ped flee using a bike that's all I want to know. I'll be grateful to know this. Thank you.  :D

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: How to make a ped flee using a bike through lua?
« Reply #1 on: July 26, 2015, 04:41:01 AM »
I believe using PedFlee while on a bike will do that... I haven't tested it though. Check out the script TestBikeObjectives.lur. I'd give it to you but I'm not allowed to as I didn't decompile the scripts... sorry.

Offline UltimateGamer9

  • Full Member
  • ***
  • Posts: 190
  • Gender: Male
    • View Profile
Re: How to make a ped flee using a bike through lua?
« Reply #2 on: July 26, 2015, 08:38:47 AM »
Wow Thanks DaBOSS54320 ;D ;D ;D

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: How to make a ped flee using a bike through lua?
« Reply #3 on: July 26, 2015, 09:04:18 AM »
You're welcome UltimateGamer8!