07.02.2015, 12:28
Код HTML:
D:\GTA\ÑÅÐÂ\SA-MP 0.3.7 RC1 Windows Server\pawno\ping.pwn(22) : error 010: invalid function or declaration D:\GTA\ÑÅÐÂ\SA-MP 0.3.7 RC1 Windows Server\pawno\ping.pwn(25) : error 010: invalid function or declaration D:\GTA\ÑÅÐÂ\SA-MP 0.3.7 RC1 Windows Server\pawno\ping.pwn(27) : error 010: invalid function or declaration D:\GTA\ÑÅÐÂ\SA-MP 0.3.7 RC1 Windows Server\pawno\ping.pwn(31) : error 010: invalid function or declaration D:\GTA\ÑÅÐÂ\SA-MP 0.3.7 RC1 Windows Server\pawno\ping.pwn(33) : error 010: invalid function or declaration D:\GTA\ÑÅÐÂ\SA-MP 0.3.7 RC1 Windows Server\pawno\ping.pwn(36) : error 010: invalid function or declaration D:\GTA\ÑÅÐÂ\SA-MP 0.3.7 RC1 Windows Server\pawno\ping.pwn(44) : error 021: symbol already defined: "format" D:\GTA\ÑÅÐÂ\SA-MP 0.3.7 RC1 Windows Server\pawno\ping.pwn(46) : error 010: invalid function or declaration D:\GTA\ÑÅÐÂ\SA-MP 0.3.7 RC1 Windows Server\pawno\ping.pwn(49) : warning 203: symbol is never used: "tmp" D:\GTA\ÑÅÐÂ\SA-MP 0.3.7 RC1 Windows Server\pawno\ping.pwn(49) : warning 203: symbol is never used: "wfps" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 8 Errors.
23{
24 new drunknew;
25 drunknew = GetPlayerDrunkLevel(playerid);
26
27 if (drunknew < 100)
28 {
29 SetPlayerDrunkLevel(playerid, 2000);
30 }
31 else
32 {
33 if (pDrunkLevelLast[playerid] != drunknew)
34 {
35 new wfps = pDrunkLevelLast[playerid] - drunknew;
36 if ((wfps > 0) && (wfps < 200))
37 pFPS[playerid] = wfps;
38 pDrunkLevelLast[playerid] = drunknew;
39 }
40}
41
42 //FPS/Ping
43 static tmp[128];
44 format(tmp, sizeof(tmp), "{FFFF00}FPS: {FF0000}%i\n{FFFF00}Ping: {FF0000}%i", 45pFPS[playerid], GetPlayerPing(playerid));
46 Update3DTextLabelText(PlayerLabel[playerid], 0xFFFFFFFF, tmp);
47 return 1;
48}
49