Crashdetect (debug)
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Two lines above 8900, the correct check would be:
Код:
if(damagedid != INVALID_PLAYER_ID)
instead of playerid.

---

In line 8930, the size of "PlayerShotPlayer" seems to be 100 but the ID issuer had is 167. Set correct size for it, the max slots of your server.

---

About the last run time error 4: http://forum.sa-mp.com/showpost.php?...&postcount=482
Find this line in zcmd.inc file:
pawn Код:
funcname[pos-1] = tolower(cmdtext[pos]);
and add the if/else statements like in the post linked above.
Thanks and how can issuer id go to 167 when there cannot be more than 100 players

Код:
#undef MAX_PLAYERS
#define MAX_PLAYERS 100

new PlayerShotPlayer[MAX_PLAYERS][MAX_PLAYERS];
Reply


Messages In This Thread
Crashdetect (debug) - by Penguin1997 - 24.08.2016, 10:29
Re: Crashdetect (debug) - by Konstantinos - 24.08.2016, 11:07
Re: Crashdetect (debug) - by Penguin1997 - 24.08.2016, 11:32

Forum Jump:


Users browsing this thread: 1 Guest(s)