[Help]/Abandonhouse bug
#2

Load crashdetect plugin: https://github.com/Zeex/samp-plugin-...es/tag/v4.15.1
Compile with debug info: https://github.com/Zeex/samp-plugin-...ith-debug-info
Restart the server and execute the command.
Post what it was printed in console/server log.

The problem is either that the value of Player[playerid][House] is out of bounds or something is wrong in SaveHouse. The above procedure will tell us which one.

---

"z" specifier is not used anymore in sscanf. Use isnull though as sscanf is not meant to be used for 1 single string:
pawn Код:
if (isnull(params)) return e(playerid, WHITE, "Are you SURE you want to abandon your house? Please type /abandonhouse yes");

if (!strcmp(params, "yes", true))
{
    // code..
}
Reply


Messages In This Thread
[Help]/Abandonhouse bug - by BigGreen - 11.05.2016, 16:58
Re: [Help]/Abandonhouse bug - by Konstantinos - 11.05.2016, 17:05
Re: [Help]/Abandonhouse bug - by Micko123 - 11.05.2016, 17:05
Re: [Help]/Abandonhouse bug - by BigGreen - 11.05.2016, 18:10
Re: [Help]/Abandonhouse bug - by Dayrion - 11.05.2016, 18:48

Forum Jump:


Users browsing this thread: 1 Guest(s)