undefined symbol NetStats_PacketLossPercent - 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: undefined symbol NetStats_PacketLossPercent (
/showthread.php?tid=544369)
undefined symbol NetStats_PacketLossPercent -
finelaq - 01.11.2014
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;
}
}
Re : undefined symbol NetStats_PacketLossPercent -
S4t3K - 01.11.2014
Update your a_samp include to 0.3z R4's one.
Re: undefined symbol NetStats_PacketLossPercent -
finelaq - 01.11.2014
Thank you.