23.10.2013, 21:57
hello what this warnings!?
pawn Код:
CMD:pinfo(playerid,params[])
{
new id;
if(!IsPlayerAdmin(playerid)) return SCM(playerid, RED, "UnKnown Command! Type /help");
if(sscanf(params,"u", id)) return SCM(playerid, RED, "Get some info about a player: /pinfo <playerid>");
if(!IsPlayerConnected(playerid)) return SCM(playerid, RED, "Player is not connected");
new b_name[MAX_PLAYER_NAME], p_ip[25], str1[1000], Folat:Health, Folat:Armour;
GetPlayerHealth(playerid, Health);
GetPlayerArmour(playerid, Armour);
GetPlayerName(playerid, b_name,sizeof (b_name));
GetPlayerIp(playerid, p_ip,sizeof (p_ip));
format(str1,sizeof (str1),"{C7C7C7}Player name: {27FF0A}%s\n{C7C7C7}Player IP: {27FF0A}%s\n{C7C7C7}Player Money: {27FF0A}$%i\n{C7C7C7}Player ping: {27FF0A}%i/n{C7C7C7}Player Health: {27FF0A}%f/n{C7C7C7}Player Armour: {27FF0A}%f",b_name, p_ip, GetPlayerMoney(playerid), GetPlayerPing(playerid), Health, Armour);
ShowPlayerDialog(playerid, 12, DIALOG_STYLE_MSGBOX, "{C7C7C7}Player Info",str1,"Close","");
return 1;
}
PHP код:
C:\Users\John\Desktop\Server\filterscripts\TuNiAdmin.pwn(271) : warning 213: tag mismatch
C:\Users\John\Desktop\Server\filterscripts\TuNiAdmin.pwn(272) : warning 213: tag mismatch
C:\Users\John\Desktop\Server\filterscripts\TuNiAdmin.pwn(275) : warning 213: tag mismatch
C:\Users\John\Desktop\Server\filterscripts\TuNiAdmin.pwn(275) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Warnings.