SA-MP Forums Archive
No damage - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: No damage (/showthread.php?tid=651353)



No damage - TaylorShade - 18.03.2018

I included weapon-config.inc and when i shoot someone he isn't losing health, also when he shoots me same problem.. i got this from crashdetect

Код:
[19:05:04] [debug] Run time error 11: "Divide by zero"
[19:05:04] [debug] AMX backtrace:
[19:05:04] [debug] #0 00000f78 in AverageShootRate (playerid=0, shots=1, &multiple_weapons=@00000000 0) at C:\Users\stefan\Desktop\Fusion Gaming NEW\Compiler\include\weapon-config.inc:981
[19:05:04] [debug] #1 00012b10 in public OnPlayerWeaponShot (playerid=0, weaponid=24, hittype=1, hitid=1, Float:fX=-0.19580, Float:fY=0.07214, Float:fZ=0.47790) at C:\Users\stefan\Desktop\Fusion Gaming NEW\Compiler\include\weapon-config.inc:3450
[19:05:06] [debug] Run time error 11: "Divide by zero"
[19:05:06] [debug] AMX backtrace:
[19:05:06] [debug] #0 00000f78 in AverageShootRate (playerid=0, shots=1, &multiple_weapons=@00000000 0) at C:\Users\stefan\Desktop\Fusion Gaming NEW\Compiler\include\weapon-config.inc:981
[19:05:06] [debug] #1 00012b10 in public OnPlayerWeaponShot (playerid=0, weaponid=24, hittype=1, hitid=1, Float:fX=-0.01489, Float:fY=0.11218, Float:fZ=0.68402) at C:\Users\stefan\Desktop\Fusion Gaming NEW\Compiler\include\weapon-config.inc:3450
[19:05:06] [debug] Run time error 11: "Divide by zero"



Re: No damage - PowerMwK - 18.03.2018

Try this
PHP код:
 SetDisableSyncBugs 



Re: No damage - TaylorShade - 18.03.2018

Ill try that now