01.11.2014, 15:59
Hello!
I got a problem!
When i compile my gamemode, then this error comes.
Code:
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.
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;
}
}