11.05.2016, 17:05
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:
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..
}