Crash when removing the gate
#1

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
Reply
#2

Mostra likely you're re-removing it, are you sure it's not already removed? Search in script / fs.
Reply
#3

Quote:
Originally Posted by iDayZ
View Post
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.
Reply
#4

How am I supposed to check though, I don't have your code / script.
Reply
#5

Quote:
Originally Posted by Romz
View Post
I'm sure, check it out for yourself.
could you post the script part or where you used those lines?
Reply
#6

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
Reply
#7

Quote:
Originally Posted by Xeon™
View Post
could you post the script part or where you used those lines?
I'm doing everything in standard gamemode bare.
Reply
#8

Quote:
Originally Posted by Konstantinos
View Post
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
These gates do not refer to car repair shops or tuning salons.



Reply
#9

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)