Crash when removing the gate -
Romz - 03.11.2017
Hello! When I remove the gate, in these places the players are crashing. Is it possible to fix this?
Code:
RemoveBuildingForPlayer(playerid, 4084, 1643.4297, -1520.3047, 14.3438, 0.25);
or
RemoveBuildingForPlayer(playerid, 5302, 2741.0703, -2004.7813, 14.8750, 0.25);
The chat displays this warning, after which the player crashes.
Code:
[08:18:23] Warning(s007): Exception 0xC0000005 at 0x44A503
Re: Crash when removing the gate -
iDayZ - 03.11.2017
Mostra likely you're re-removing it, are you sure it's not already removed? Search in script / fs.
Re: Crash when removing the gate -
Romz - 03.11.2017
Quote:
Originally Posted by iDayZ
Mostra likely you're re-removing it, are you sure it's not already removed? Search in script / fs.
|
I'm sure, check it out for yourself.
Re: Crash when removing the gate -
iDayZ - 03.11.2017
How am I supposed to check though, I don't have your code / script.
Re: Crash when removing the gate -
Xeon™ - 03.11.2017
Quote:
Originally Posted by Romz
I'm sure, check it out for yourself.
|
could you post the script part or where you used those lines?
Re: Crash when removing the gate -
Konstantinos - 03.11.2017
Removing the garage doors of mod shops and/or pay n' spray sometimes results in client crashes if players get in range and tries to move a removed object.
This is the best way to avoid players from entering:
https://sampforum.blast.hk/showthread.php?pid=3334346#pid3334346
Re: Crash when removing the gate -
Romz - 03.11.2017
Quote:
Originally Posted by Xeon™
could you post the script part or where you used those lines?
|
I'm doing everything in standard gamemode
bare.
Re: Crash when removing the gate -
Romz - 03.11.2017
Quote:
Originally Posted by Konstantinos
|
These gates do not refer to car repair shops or tuning salons.
Re: Crash when removing the gate -
Konstantinos - 04.11.2017
Removing the garage door
only doesn't crash for me, unless I create object 4084 to replace it. In this case, any door that did not open in singleplayer will do.