Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: Mick3Mouse on April 24, 2014, 02:54:05 PM

Title: What does this code do? PedGetLastVehicle
Post by: Mick3Mouse on April 24, 2014, 02:54:05 PM
PedGetLastVehicle

How and where and when does this code work?

i got a plan on a mod that requiers to get a vehicle.   so if u know it tell me if you are kind.   :)
Title: Re: What does this code do? PedGetLastVehicle
Post by: c00ld0c26 on April 24, 2014, 03:47:48 PM
It's used to return the value of the last vehicle the ped used.

Example :

PedGetLastVehicle(Darby)

So it will return the last vehicle used by Darby.

You can use it to set commands on the last vehicle that ped used.