SA-MP Forums

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 28/12/2019, 08:37 AM   #1
BGTrucker
Huge Clucker
 
BGTrucker's Avatar
 
Join Date: Aug 2011
Location: Bulgaria
Posts: 398
Reputation: 15
Question Opcodes when adding map objects

So,I wanted to add railway barriers in Los Santos where they are missing,but when its time for them to play their role,it gives me opcodes,and after several times the game crashes. I did some testing and it turns out not the barriers are giving the opcodes but the poles with the railroad lights on them. I made some pictures from samp map editor,and a video from the ingame debug.
On the first image I have highlighted a traffic light for cars that in my opinion is placed on the wrong place,so I moved it after the railroad tracks so its closer to the junction. The closer one shows its original position,and the further one is where I moved it.

On the second image I have highlighted the railroad barriers along with the poles that are holding the flashing lights.

And on the third image I highlighted only the two poles that are the reason for the opcodes and crashing the game.

Finally,here's a short video I made to visualize the whole story.
https://www.youtube.com/watch?v=v_0HY9Q5Ua8
Any sugestions how to fix this,I tried with CreateDynamicObject too but it doesnt help.
Info about object ids:
1373 is the railroad traffic light,and 1374 is the railroad barrier.
If you add just the barriers,without the lights,you will see that no opcodes occur,but even if you add just the lights,without the barriers,it gives opcodes showing that the lights are the reason for it.
__________________
BGTrucker is offline   Reply With Quote
 

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
Can someone help me adding objects Samieastwood Scripting Help 14 04/02/2015 03:37 PM
Adding New Objects! Celius Server Support 11 06/03/2011 04:22 PM
Need help adding these objects CameronF91 Help Archive 13 13/10/2009 12:42 PM
>>> Adding Objects Please Help! <<< DeltaAirlines12 Help Archive 6 03/08/2009 06:59 PM
Adding objects? gemadon Help Archive 1 30/07/2009 04:02 PM


All times are GMT. The time now is 10:24 PM.


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