10.04.2016, 12:45
Quote:
C:\Documents and Settings\Administrator\Desktop\SAMP SERVER\gamemodes\CopsandRobbers.pwn(11019) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrator\Desktop\SAMP SERVER\gamemodes\CopsandRobbers.pwn(11025) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrator\Desktop\SAMP SERVER\gamemodes\CopsandRobbers.pwn(17762) : warning 204: symbol is assigned a value that is never used: "message" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Warnings. |
public OnScriptUpdate()
{
foreach(new i : Player) {
new pPing = GetPlayerPing(i);
new FloatPacket = GetPlayerPacketLoss(i);
new iString[128];
format(iString,sizeof(iString),"~w~~h~~h~Ping ~r~~h~~h~%d ~w~~h~~h~PacketLoss ~r~~h~~h~%.1f%%", pPing, pPacket);
PlayerTextDrawSetString(i, FPSPingPacket[i],iString);
}
}
MyIRCBotConnectFunction() {
Eror line 1 new MyBotID = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_1_NICKNAME, BOT_1_USERNAME);
// Disable IRC auto-reconnect
IRC_SetIntData(MyBotID, E_IRC_RESPAWN, 0);
}
Eror line 2 MyIRCBotConnectFunction1() {
new MyBotID = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_2_NICKNAME, BOT_2_NICKNAME);
// Disable IRC auto-reconnect
IRC_SetIntData(MyBotID, E_IRC_RESPAWN, 0);
}