[Ajuda] Include weapon-config
#1

Olб pessoa, alguem ai utiliza a include weapon-config? Quando eu utilizo ela, estб bloqueando o dano de afogar , fogo e queda, e quando acontece o dano, da uma debug.

Code:
[debug] Run time error 4: "Array index out of bounds"
[debug]  Accessing element at index 65535 past array upper bound 102
[debug] AMX backtrace:
[debug] #0 00274730 in public WC_OnPlayerDamage (&playerid=@00dcb81c 3, &Float:amount=@00dcb820 165.00000, &issuerid=@00dcb824 65535, &weapon=@00dcb828 54, &bodypart=@00dcb82c 3) at C:\servidor\gamemodes\city.pwn:41918
[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
[debug] #2 0007756c in InflictDamage (playerid=3, Float:amount=165.00000, issuerid=65535, weaponid=54, bodypart=3, bool:ignore_armour=false) at C:\servidor\pawno\include\weapon-config.inc:4619
[debug] #3 0006e6fc in public OnPlayerTakeDamage (playerid=3, issuerid=65535, Float:amount=165.00000, weaponid=54, bodypart=3) at C:\servidor\pawno\include\weapon-config.inc:3406
include: https://sampforum.blast.hk/showthread.php?tid=563387
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: 1 Guest(s)