30.08.2017, 02:19
Quote:
|
I'm having a problem:
Код:
for(new f = 0, t = 0; f < MAX_PLAYERS, t < 5; f++)
{
if(!IsPlayerConnected(f))
continue;
if(strfind(ReturnName(f, 0), params, true) != -1)
{
matchesFound[t] = f;
t++;
}
}
Код:
[debug] Attempted to read/write array element at index 65536 in array of size 50 It calls INVALID_PLAYER_ID for ReturnName() and causes it to crash I assume. Код:
[debug] #0 0005856c in ReturnName (playerid=65536, underScore=0) at macc.pwn:7239 |


