Skin ID: 0 | IP: 49 | Ping: 0 | Score: 0 | Money: 0 | Armour: 100.000000 | Health: 100.000000
IRCCMD:getinfo(botid, channel[], user[], host[], params[]) { new playerid, reason, skinid, pip[16], ping, score, money, float:armour, float:health, string[500]; //Playerid if (sscanf(params, "dS(No reason.)[64]", playerid, reason)) { return 1; } if (IRC_IsHalfop(botid, channel, user)) { if(IsPlayerConnected(playerid)) { GetPlayerSkin(playerid, skinid); GetPlayerIp(playerid, pip, 16); GetPlayerPing(playerid, ping); GetPlayerScore(playerid, score); GetPlayerMoney(playerid, money); GetPlayerArmour(playerid, armour); GetPlayerHealth(playerid, health); format(string, 500, "Skin ID: %d | IP: %d | Ping: %d | Score: %d | Money: %d | Armour: %0.f | Health: %0.f", skinid, pip, ping, score, money, armour, health); IRC_GroupSay(groupID, channel, string); } } return 1; }
C:\Users\X\Desktop\irc.pwn(981) : warning 202: number of arguments does not match definition C:\Users\X\Desktop\irc.pwn(983) : warning 202: number of arguments does not match definition C:\Users\X\Desktop\irc.pwn(984) : warning 202: number of arguments does not match definition C:\Users\X\Desktop\irc.pwn(985) : warning 202: number of arguments does not match definition C:\Users\X\Desktop\irc.pwn(986) : warning 213: tag mismatch C:\Users\X\Desktop\irc.pwn(987) : warning 213: tag mismatch
C:\Users\X\Desktop\irc.pwn(981) : warning 202: number of arguments does not match definition C:\Users\X\Desktop\irc.pwn(983) : warning 202: number of arguments does not match definition C:\Users\X\Desktop\irc.pwn(984) : warning 202: number of arguments does not match definition C:\Users\X\Desktop\irc.pwn(985) : warning 202: number of arguments does not match definition C:\Users\X\Desktop\irc.pwn(986) : warning 213: tag mismatch C:\Users\X\Desktop\irc.pwn(987) : warning 213: tag mismatch
Код:
C:\Users\X\Desktop\irc.pwn(981) : warning 202: number of arguments does not match definition C:\Users\X\Desktop\irc.pwn(983) : warning 202: number of arguments does not match definition C:\Users\X\Desktop\irc.pwn(984) : warning 202: number of arguments does not match definition C:\Users\X\Desktop\irc.pwn(985) : warning 202: number of arguments does not match definition C:\Users\X\Desktop\irc.pwn(986) : warning 213: tag mismatch C:\Users\X\Desktop\irc.pwn(987) : warning 213: tag mismatch |
GetPlayerSkin(playerid, skinid); GetPlayerIp(playerid, pip, 16); GetPlayerPing(playerid, ping); GetPlayerScore(playerid, score); GetPlayerMoney(playerid, money); GetPlayerArmour(playerid, armour); GetPlayerHealth(playerid, health);
GetPlayerSkin(playerid, skinid);
GetPlayerIp(playerid, pip, 16);
GetPlayerPing(playerid, ping);
GetPlayerScore(playerid, score);
GetPlayerMoney(playerid, money);
GetPlayerArmour(playerid, armour);
GetPlayerHealth(playerid, health);
skindid = GetPlayerSkin(playerid);
GetPlayerIp(playerid, pip, 16);
ping = GetPlayerPing(playerid);
score = GetPlayerScore(playerid);
money = GetPlayerMoney(playerid);
GetPlayerArmour(playerid,armour );
GetPlayerHealth(playerid,health);
C:\Users\Noah\Desktop\irc.pwn(986) : warning 202: number of arguments does not match definition C:\Users\Noah\Desktop\irc.pwn(986) : warning 213: tag mismatch C:\Users\Noah\Desktop\irc.pwn(987) : warning 202: number of arguments does not match definition C:\Users\Noah\Desktop\irc.pwn(987) : warning 213: tag mismatch
armour = GetPlayerArmour(playerid); health = GetPlayerHealth(playerid);
new Float:armour, Float:health;
GetPlayerArmour(playerid, armour);
GetPlayerHealth(playerid, health);
skindid = GetPlayerSkin(playerid);
GetPlayerIp(playerid, pip, 16);
ping = GetPlayerPing(playerid);
score = GetPlayerScore(playerid);
money = GetPlayerMoney(playerid);
GetPlayerArmour(playerid,armour);
GetPlayerHealth(playerid,health);
new Float:armour;
new Float:health;