SA-MP Forums Archive
Pay N Spray object block crash - 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: Pay N Spray object block crash (/showthread.php?tid=500744)



Pay N Spray object block crash - Lidor124 - 14.03.2014

I added this object on MTA to block from players fix their vehicle in Pay N Spray, i added it by Inconginto Sreamer using function CreateDynamicObject.
I believe it happens to other servers too that strange crash
If i in radius about 30-50 from the specific location of the object in the following screenshot:
How to fix that?



Chatlog:

Код:
[00:34:21] {FFFFFF}SA-MP {B9C9BF}0.3z {FFFFFF}Started

[00:34:24] Connecting to 127.0.0.1:7777...

[00:34:24] Connected. Joining the game...

[00:34:24] Welcome to {88AA88}G{FFFFFF}rand {88AA88}L{FFFFFF}arceny

[00:34:25] Connected to {B9C9BF}[0.3z]Classic Gaming Roleplay[0.3z] [Beta]

[00:35:40] Warning(s007): Exception 0xC0000005 at 0x44A503

[00:35:40] Warning(s007): Exception 0xC0000005 at 0x44A503

[00:35:40] Warning(s007): Exception 0xC0000005 at 0x44A503

[00:35:40] Warning(s007): Exception 0xC0000005 at 0x44A503

[00:35:40] Warning(s007): Exception 0xC0000005 at 0x44A503

[00:35:40] Warning(s007): Exception 0xC0000005 at 0x44A503

[00:35:40] Warning(s007): Exception 0xC0000005 at 0x44A503

[00:35:40] Warning(s007): Exception 0xC0000005 at 0x44A503

[00:35:40] Warning(s007): Exception 0xC0000005 at 0x44A503

[00:35:40] Warning(s007): Exception 0xC0000005 at 0x44A503

[00:35:40] Warning(s007): Exception 0xC0000005 at 0x44A503



Re: Pay N Spray object block crash - Matess - 14.03.2014

Try change object IDs


Re: Pay N Spray object block crash - Vince - 14.03.2014

Probably because your game is trying to move the door while the server prohibits it, or something like that. I'm not exactly sure how or where the game looks for the object it needs to move. It'd probably work if you use another object.


Re: Pay N Spray object block crash - K9IsGodly - 14.03.2014

I believe this is the reason most servers block Pay N' Spray off with a gate. I'd suggest to you to use a gate.


Re: Pay N Spray object block crash - Lidor124 - 15.03.2014

But guys, i saw it in other server and they did exactly like that and same object and i dont get a crash.


Re: Pay N Spray object block crash - Matess - 15.03.2014

Yes but it could be different object with SetObjectMaterial.