09.06.2018, 15:29
Include don't works
I included it etc but players immune from bullets damm myluck
I included it etc but players immune from bullets damm myluck
weapon-config.inc(3119) : warning 219: local variable "err" shadows a variable at a preceding level weapon-config.inc(3366) : warning 219: local variable "err" shadows a variable at a preceding level |
#include <a_samp> #include <a_mysql> #include <callbacks> #include <cuffs> #include <zcmd> #include <sscanf2> #include <streamer> #include <kickban> #include <foreach> #include <YSI\y_iterate> #include <mSelection> #include <mapfix> #include <OPSP> #include <AutoMove> #include <WeaponData> #include <SKY> #include <weapon-config> #include <progress2> #include <ipcheck>
Код:
#include <a_samp> #include <a_mysql> #include <callbacks> #include <cuffs> #include <zcmd> #include <sscanf2> #include <streamer> #include <kickban> #include <foreach> #include <YSI\y_iterate> #include <mSelection> #include <mapfix> #include <OPSP> #include <AutoMove> #include <WeaponData> #include <SKY> #include <weapon-config> #include <progress2> #include <ipcheck> |
Package Southclaws/progress2 depends on package Southclaws/samp-logger which declares an error function named `err`. If you run `sampctl package ensure --verbose` it will print out the dependency tree so you can see all leaf dependencies.
|
Code:
[07:57:07] [debug] #0 002bafb0 in public WC_OnPlayerDamage (&playerid=@00d78e0c 1, &Float:amount=@00d78e10 0.28050, &issuerid=@00d78e14 65535, &weapon=@00d78e18 37, &bodypart=@00d78e1c 3) at C:\Users\x\Desktop\x\gm.pwn:29434 [07:57:07] [debug] #1 0002444c in public OnPlayerDamage (&playerid=@00d78e0c 1, &Float:amount=@00d78e10 0.28050, &issuerid=@00d78e14 65535, &weapon=@00d78e18 37, &bodypart=@00d78e1c 3) at E:\Program Files (x86)\pawno\include\weapon-config.inc:5448 [07:57:07] [debug] #2 0001c140 in InflictDamage (playerid=1, Float:amount=0.28050, issuerid=65535, weaponid=37, bodypart=3, bool:ignore_armour=false) at E:\Program Files (x86)\pawn\include\weapon-config.inc:4608 [07:57:07] [debug] #3 000132b0 in public OnPlayerTakeDamage (playerid=1, issuerid=65535, Float:amount=0.28050, weaponid=37, bodypart=3) at E:\Program Files (x86)\pawn\include\weapon-config.inc:3395 Code:
line 29434 if(pData[playerid][player_gang] != pData[issuerid][player_gang] && pData[playerid][player_gang] != 0 && pData[issuerid][player_gang] != 0) |