undefined symbol NetStats_PacketLossPercent
#1

Hello!
I got a problem!
When i compile my gamemode, then this error comes.
Код:
C:\Users\Monster\Desktop\samp03z_svr_R1_win32\pawno\include\vending.inc(347) : warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot")
C:\Users\Monster\Desktop\samp03z_svr_R1_win32\pawno\include\vending.inc(486) : error 017: undefined symbol "NetStats_PacketLossPercent"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Code:
pawn Код:
if (IsCallbackUsed(CB_OnPlayerPacketLoss))
    {
        packet = NetStats_PacketLossPercent(playerid);

        if (floatcmp(packet, 0.0) != 0 && floatcmp(packet, g_cbCallbackData[playerid][e_cbPacket]) != 0) {
            CallLocalFunction("OnPlayerPacketLoss", "dff", playerid, g_cbCallbackData[playerid][e_cbPacket], packet);

            g_cbCallbackData[playerid][e_cbPacket] = packet;
        }
    }
Reply
#2

Update your a_samp include to 0.3z R4's one.
Reply
#3

Thank you.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)