14.12.2014, 20:56
The likely explanation if that code is running is some kind of OOB error on your array this is a very common problem and usually very easy to fix make sure you have crashdetect plugin that will let you know if it really is the problem. Also don't use the stock modifier when creating functions that is used generally when making libraries where a function may or may not be used and serves no purpose but to obfuscate your code.
https://sampforum.blast.hk/showthread.php?tid=262796
My hunch at this time is an OOB here hinfo[pinfo[playerid][houses][i]] you probably have a default value in that array which is causing an OOB.
https://sampforum.blast.hk/showthread.php?tid=262796
My hunch at this time is an OOB here hinfo[pinfo[playerid][houses][i]] you probably have a default value in that array which is causing an OOB.

