SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 17/06/2009, 09:00 PM   #1
FreddeN
Huge Clucker
 
Join Date: May 2009
Posts: 370
Reputation: 0
Default [HELP] AddStaticVehicle Quastion...

Hello everyone!
I'm tryting to make a Trucking RPG, but I got a main problem.
I'm making Random trucks/trailers at gas stations / truckstops, but... I want the trucks to have Trailers on, have spawned trailers+trucks in debug and connected them and parked them.
But How can I make the trucks to spawn with the trailers on?

If this is impossible, give me a good tips to just make them spawn right beheind the truck or something...

Thanks
FreddeN is offline  
Old 17/06/2009, 09:02 PM   #2
BMUK
Gangsta
 
Join Date: Feb 2007
Posts: 701
Reputation: 71
Default Re: [HELP] AddStaticVehicle Quastion...

Use /save for the location where you want the truck. Reverse back a small bit and /save again and use those coords for the trailer?

BMUK is offline  
Old 17/06/2009, 09:03 PM   #3
FreddeN
Huge Clucker
 
Join Date: May 2009
Posts: 370
Reputation: 0
Default Re: [HELP] AddStaticVehicle Quastion...

Quote:
Originally Posted by BM[UK
]
Use /save for the location where you want the truck. Reverse back a small bit and /save again and use those coords for the trailer?

So there is no way to make it connected to the truck at spawn?
FreddeN is offline  
Old 17/06/2009, 09:05 PM   #5
Luka P.
High-roller
 
Join Date: Feb 2009
Posts: 1,428
Reputation: 13
Default Re: [HELP] AddStaticVehicle Quastion...

Quote:
Originally Posted by Don Correlli
Oh thanks from me,too
I forgot for that,I need that right now,I am making Car Ownership FS lol
Luka P. is offline  
Old 17/06/2009, 09:05 PM   #6
FreddeN
Huge Clucker
 
Join Date: May 2009
Posts: 370
Reputation: 0
Default Re: [HELP] AddStaticVehicle Quastion...

Quote:
Originally Posted by Don Correlli
Sounds good, thanks, will check it out.
FreddeN is offline  
Old 17/06/2009, 09:08 PM   #7
FreddeN
Huge Clucker
 
Join Date: May 2009
Posts: 370
Reputation: 0
Default Re: [HELP] AddStaticVehicle Quastion...

Quote:
Originally Posted by Don Correlli
They dont tell where and how to put it up... should it be at the AddStaticVehicle?
FreddeN is offline  
Old 17/06/2009, 09:10 PM   #8
Correlli
Godfather
 
Correlli's Avatar
 
Join Date: May 2009
Location: Slovenia
Posts: 6,340
Reputation: 365
Default Re: [HELP] AddStaticVehicle Quastion...

Try at OnVehicleSpawn.
Correlli is offline  
Old 17/06/2009, 09:11 PM   #9
Luka P.
High-roller
 
Join Date: Feb 2009
Posts: 1,428
Reputation: 13
Default Re: [HELP] AddStaticVehicle Quastion...

Hey,Don,I wan`t to put AttachTrailerToVehicle into my command /attachtrailer but it`s not working.
Vehicle must be a van or what?
Luka P. is offline  
Old 17/06/2009, 09:14 PM   #10
Correlli
Godfather
 
Correlli's Avatar
 
Join Date: May 2009
Location: Slovenia
Posts: 6,340
Reputation: 365
Default Re: [HELP] AddStaticVehicle Quastion...

Quote:
trailerid ID of the trailer
vehicleid ID of the pulling vehicle
I guess you should create vehicle and trailer.
Correlli is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysql Quastion MafiaGuy™ Help Archive 1 01/04/2010 03:53 PM
[HELP] Quastion about OnPlayerSpawn FreddeN Help Archive 2 07/09/2009 01:10 PM
[HELP] Removing map Icons... and another quastion... FreddeN Help Archive 11 12/06/2009 10:34 PM
[HELP] A quastion... FreddeN Help Archive 2 26/05/2009 02:50 PM
An simple quastion Littleman774 Help Archive 7 21/05/2009 02:01 PM


All times are GMT. The time now is 08:39 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.