Unsyncing / Disappearing [+Rep]
#4

Every return 0 could be problem.

So this
pawn Код:
if (PlayerData[playerid][pKicked])//IDK what is it... maybe you aren't resetting this variable
        return 0;
or this
pawn Код:
if (PlayerData[playerid][pWeapon] >= 1 && PlayerData[playerid][pWeapon] <= 45 && PlayerData[playerid][pWeapon] != 40 && PlayerData[playerid][pWeapon] != 2 && PlayerData[playerid][pGuns][g_aWeaponSlots[PlayerData[playerid][pWeapon]]] != GetPlayerWeapon(playerid) && !PlayerHasTazer(playerid) && !PlayerHasBeanBag(playerid) && PlayerData[playerid][pRangeBooth] == -1 && PlayerData[playerid][pCharacter] > 0)
        {
            SendAdminAlert(COLOR_LIGHTRED, "[ADMIN]: %s has been banned for weapon hacks (%s).", ReturnName(playerid, 0), ReturnWeaponName(PlayerData[playerid][pWeapon]));
            Log_Write("logs/cheat_log.txt", "[%s] %s was banned for weapon hacks (%s).", ReturnDate(), ReturnName(playerid), ReturnWeaponName(PlayerData[playerid][pWeapon]));

            Blacklist_Add(PlayerData[playerid][pIP], PlayerData[playerid][pUsername], "Anticheat", "Weapon Hacks");
            Kick(playerid);

            return 0;//IDK why desync someone who is being kicked
        }
Reply


Messages In This Thread
Unsyncing / Disappearing [+Rep] - by 2fast4you - 18.09.2014, 08:02
Re: Unsyncing / Disappearing [+Rep] - by Matess - 18.09.2014, 08:23
Re: Unsyncing / Disappearing [+Rep] - by 2fast4you - 18.09.2014, 09:16
Re: Unsyncing / Disappearing [+Rep] - by Matess - 18.09.2014, 13:53
Re: Unsyncing / Disappearing [+Rep] - by 2fast4you - 19.09.2014, 01:05
Re: Unsyncing / Disappearing [+Rep] - by Eth - 19.09.2014, 02:38
Re: Unsyncing / Disappearing [+Rep] - by The__ - 19.09.2014, 05:05
Respuesta: Unsyncing / Disappearing [+Rep] - by SickAttack - 19.09.2014, 05:14
Re: Unsyncing / Disappearing [+Rep] - by DaniceMcHarley - 19.09.2014, 10:26
Re: Unsyncing / Disappearing [+Rep] - by 2fast4you - 19.09.2014, 19:31

Forum Jump:


Users browsing this thread: 1 Guest(s)