SA-MP Forums

Go Back   SA-MP Forums > SA-MP > Bug Reports

Reply
 
Thread Tools Display Modes
Old 04/10/2014, 10:54 AM   #1
papedo
Big Clucker
 
papedo's Avatar
 
Join Date: Oct 2009
Location: Czech Republic
Posts: 162
Reputation: 6
Spray 0.3z R4 - Trailer dissapear

When you enter baggage and attach trailer, its ok.. But when this trailer attach another trailer, it doesn´t send any trailer updates.

When you move away from second trailer spawn position it dissapears becouse of 0.3z R4 security updates. When you came back the second trailer spawn it is still there - server think you never attached this trailer.

Is there any temporary solution how to solve this?

--------------------------------------------------
before 0.3z R4
[BAGGAGE] <= [TRAILER] <= [TRAILER] <= [TRAILER] <= [TRAILER] <= [TRAILER] <= [TRAILER] <= [TRAILER]

since 0.3z R4
[BAGGAGE] <= [TRAILER] <= [TrailersThatDissapears] <= [TrailersThatDissapears] ...
papedo is offline   Reply With Quote
Old 04/10/2014, 01:34 PM   #2
ikey07
High-roller
 
ikey07's Avatar
 
Join Date: Jul 2010
Location: Latvia,Riga
Posts: 1,167
Reputation: 180
Default Re: 0.3z R4 - Trailer dissapear

try to add OnVehicleStreamsOut to check if its a trailer to any car/trailer, and if it is, attach it, it might work.

I experienced the same thing some days ago, when was making a towtrucks train
__________________
ikey07 is offline   Reply With Quote
Old 06/10/2014, 08:22 PM   #3
IvanAyuso
Big Clucker
 
Join Date: Jan 2013
Posts: 80
Reputation: 13
Default Respuesta: 0.3z R4 - Trailer dissapear

In 0.3z R4:
- Additional sanity checks have been added to the trailer validation on the server.
- A new callback is added to identify players updating their vehicle's trailers (OnTrailerUpdate).

Read http://wiki.sa-mp.com/wiki/OnTrailerUpdate and check your code.
IvanAyuso is offline   Reply With Quote
Old 07/10/2014, 06:04 AM   #4
papedo
Big Clucker
 
papedo's Avatar
 
Join Date: Oct 2009
Location: Czech Republic
Posts: 162
Reputation: 6
Default Re: Respuesta: 0.3z R4 - Trailer dissapear

Quote:
Originally Posted by IvanAyuso View Post
- A new callback is added to identify players updating their vehicle's trailers (OnTrailerUpdate).
This works only for first trailer. - Second trailer never call this callback.

I allready checked my code, there is no code that disattach the trailer. Try it yourself
papedo is offline   Reply With Quote
Reply

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
3Dtextlabel dissapear Louris Scripting Help 1 25/01/2013 03:51 PM
vehicles dissapear HardBoy Server Support 10 14/09/2012 11:59 AM
Npc dissapear TuTh Scripting Help 0 23/04/2012 12:20 PM
Objects [Dissapear] SmokeyMoose Help Archive 10 09/03/2011 05:43 PM
[Help]Object Dissapear. HuRRiCaNe Help Archive 3 12/02/2010 06:11 PM


All times are GMT. The time now is 10:13 AM.


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