Jump to content

Help with creating callouts


CreepPork

Recommended Posts

Hello!

I am creating a couple callouts and thinking about posting on them LCPDFR, but that's not the point,

I have created a kidnapping callout but the Victim in back of the vans just jumping out and basicly doesn't give any point to the callout, below I have a line of code that puts the Victim in the back seat of the van:

Victim.WarpIntoVehicle(PedoVan, 3);

But the other thing is for a diffrent callout is a HGV chase I can't manage to attach a trailer (Tanker) to a Phantom via the TowVehicle().

When I get to the callout the trailer just spawns on top of the truck and flips the truck over and doesn't attach to it.

Thanks, for any help!

 

Edited by CreepPork

“For a long time it puzzled me how something so expensive, so leading edge, could be so useless. And then it occurred to me that a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match.”

- Bill Bryson

Link to comment
Share on other sites

Hello!

I am creating a couple callouts and thinking about posting on them LCPDFR, but that's not the point,

I have created a kidnapping callout but the Victim in back of the vans just jumping out and basicly doesn't give any point to the callout, below I have a line of code that puts the Victim in the back seat of the van:

Victim.WarpIntoVehicle(PedoVan, 3);

But the other thing is for a diffrent callout is a HGV chase I can't manage to attach a trailer (Tanker) to a Phantom via the TowVehicle().

When I get to the callout the trailer just spawns on top of the truck and flips the truck over and doesn't attach to it.

Thanks, for any help!

 

TowVehicle() works only for tow-trucks. If you want to attach a trailer to a truck, use the Vehicle.Trailer property : http://docs.ragepluginhook.net/html/F1567E4C.htm

phantomTruck.Trailer = tankerTrailer;

tankerTrailer being a Vehicle object.

Link to comment
Share on other sites

TowVehicle() works only for tow-trucks. If you want to attach a trailer to a truck, use the Vehicle.Trailer property : http://docs.ragepluginhook.net/html/F1567E4C.htm

phantomTruck.Trailer = tankerTrailer;

tankerTrailer being a Vehicle object.

Thank you very much that works!

“For a long time it puzzled me how something so expensive, so leading edge, could be so useless. And then it occurred to me that a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match.”

- Bill Bryson

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...