Question about Transfenders ! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Question about Transfenders ! (
/showthread.php?tid=616189)
Question about Transfenders ! -
Juvanii - 01.09.2016
Is it possible to prevent transfender's gate from opening ?
I tried to use
RemoveBuildingForPlayer to
remove the gate and then create another gate
objectid in the same place of the original gate but it crashes the game.
What causes the crash ? And If you have another idea to make it, please tell me.
Re: Question about Transfenders ! -
Shinja - 01.09.2016
Editing..
Re: Question about Transfenders ! -
Sew_Sumi - 01.09.2016
Yea, don't remove those objects... The only way you could is by blocking them off with a door over them.
You'll crash players when you remove those sort of objects. Also will happen with the garage doors on houses.
It's all to do with the single player feature of that door opening, not being controlled by SA-MP. So when the door is removed, your game is still thinking it is there, and tries to move it when it's not actually there.
Re: Question about Transfenders ! -
Juvanii - 02.09.2016
Thanks for replying.