SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 03/11/2017, 05:24 AM   #1
Romz
High-roller
 
Romz's Avatar
 
Join Date: Jun 2013
Location: Ukraine
Posts: 1,013
Reputation: 55
Default Crash when removing the gate

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
Romz is offline   Reply With Quote
Old 03/11/2017, 06:36 AM   #2
iDayZ
Banned
 
Join Date: Oct 2017
Posts: 15
Reputation: 3
Default Re: Crash when removing the gate

Mostra likely you're re-removing it, are you sure it's not already removed? Search in script / fs.
iDayZ is offline   Reply With Quote
Old 03/11/2017, 02:17 PM   #3
Romz
High-roller
 
Romz's Avatar
 
Join Date: Jun 2013
Location: Ukraine
Posts: 1,013
Reputation: 55
Default Re: Crash when removing the gate

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.
Romz is offline   Reply With Quote
Old 03/11/2017, 04:43 PM   #4
iDayZ
Banned
 
Join Date: Oct 2017
Posts: 15
Reputation: 3
Default Re: Crash when removing the gate

How am I supposed to check though, I don't have your code / script.
iDayZ is offline   Reply With Quote
Old 03/11/2017, 05:19 PM   #5
Xeon™
Banned
 
Join Date: Jul 2017
Location: Earth
Posts: 530
Reputation: 96
Default Re: Crash when removing the gate

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?
Xeon™ is offline   Reply With Quote
Old 03/11/2017, 05:35 PM   #6
Konstantinos
Spam Machine
 
Konstantinos's Avatar
 
Join Date: Dec 2011
Posts: 11,986
Reputation: 1392
Default Re: Crash when removing the gate

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: http://forum.sa-mp.com/showthread.php?p=3334346
__________________
Life is like riding a bicycle. To keep your balance, you must keep moving.

[Tutorial] How to use SQLite
[FilterScript] Tune System
Konstantinos is offline   Reply With Quote
Old 03/11/2017, 11:50 PM   #7
Romz
High-roller
 
Romz's Avatar
 
Join Date: Jun 2013
Location: Ukraine
Posts: 1,013
Reputation: 55
Default Re: Crash when removing the gate

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.
Romz is offline   Reply With Quote
Old 03/11/2017, 11:56 PM   #8
Romz
High-roller
 
Romz's Avatar
 
Join Date: Jun 2013
Location: Ukraine
Posts: 1,013
Reputation: 55
Default Re: Crash when removing the gate

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: http://forum.sa-mp.com/showthread.php?p=3334346
These gates do not refer to car repair shops or tuning salons.



Romz is offline   Reply With Quote
Old 04/11/2017, 09:04 AM   #9
Konstantinos
Spam Machine
 
Konstantinos's Avatar
 
Join Date: Dec 2011
Posts: 11,986
Reputation: 1392
Default Re: Crash when removing the gate

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.
__________________
Life is like riding a bicycle. To keep your balance, you must keep moving.

[Tutorial] How to use SQLite
[FilterScript] Tune System
Konstantinos is offline   Reply With Quote
Reply

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
server crash vip gate DamonD Scripting Help 5 25/04/2014 12:34 AM
Cant save gate in dynamic gate system muky Scripting Help 2 11/05/2013 05:34 AM
Removing gate in Chinatown, SF ThomasTailor93 Scripting Help 4 18/05/2012 12:56 PM
Removing other player icons from the map and removing the yellow arrow. davelord Scripting Help 2 10/01/2012 03:07 PM


All times are GMT. The time now is 09:56 AM.


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