[Ajuda] Include weapon-config
#4

Quando o dano й de queda e etc., o issuerid vem com valor 65535 (INVALID_PLAYER_ID), por isso causa esse erro e o sistema trava. Vocк tem que checar se o issuerid й vбlido antes de usб-lo em arrays (igual no meu exemplo acima).

Code:
[debug]  Accessing element at index 65535 past array upper bound 102
Code:
[debug] #1 0007ec4c in public OnPlayerDamage (&playerid=@00dcb81c 3, &Float:amount=@00dcb820 165.00000, &issuerid=@00dcb824 65535, &weapon=@00dcb828 54, &bodypart=@00dcb82c 3) at C:\servidor\pawno\include\weapon-config.inc:5479
Reply


Messages In This Thread
Include weapon-config - by caiolelis1 - 26.05.2020, 15:23
Re: Include weapon-config - by RodrigoMSR - 26.05.2020, 16:57
Re: Include weapon-config - by caiolelis1 - 26.05.2020, 18:54
Re: Include weapon-config - by RodrigoMSR - 27.05.2020, 03:27
Re: Include weapon-config - by ReturnZero - 28.05.2020, 05:16
Re: Include weapon-config - by MateGPlay - 28.05.2020, 23:53

Forum Jump:


Users browsing this thread: 2 Guest(s)