06.10.2016, 19:14
==================== CODE ==============================
================================ WARNING ========================
HELP ME PLEAASEEEE
PHP код:
new Float:health, Float:armour;
//new Float:pPosX,Float:pPosY,Float:pPosZ;
new hstr[64], zkstr[64], tmpstr[64], armmp[64], strTime[98], strRepu[32], strKillP[32], strWeapon[84];
//==========================================================================
//GetPlayerPos(playerid, pPosX, pPosY, pPosZ);
GetPlayerHealth(playerid,health);
GetPlayerArmour(playerid,armour);
//==========================================================================
//if(CallRemoteFunction("GetAnticheatConnect", "d", playerid) == 0)
//{
format(hstr,sizeof(hstr),"%d",floatround(health * 120));
if(armour == 99) format(armmp,sizeof(armmp),"100");
else format(armmp,sizeof(armmp),"%.0f", armour);
format(strKillP,sizeof(strKillP),"%d", Player[playerid][pKill_s_g]);
format(zkstr,sizeof(zkstr),"%d", Player[playerid][pKill_game]);
if(Player[playerid][pBad] >= 2000) format(strRepu,sizeof(strRepu),"LOW");
else if(Player[playerid][pBad] > 1300 && Player[playerid][pBad] < 2000) format(strRepu,sizeof(strRepu),"NORM");
else if(Player[playerid][pBad] > 650) format(strRepu,sizeof(strRepu),"MED");
else format(strRepu,sizeof(strRepu),"HARD");
format(tmpstr,sizeof(tmpstr),"%0.1f", Player[playerid][pTemp]);
format(strTime, sizeof(strTime), "0%d.%d.%d", Player[playerid][pHour],Player[playerid][pMin],Player[playerid][pSec]);
/*}
else if(CallRemoteFunction("GetAnticheatConnect", "d", playerid) == 1)
{
format(hstr,sizeof(hstr),"%s: %d",RusToGame("Кровь"),floatround(health * 120));
if(armour == 99) format(armmp,sizeof(armmp),"%s: 100", RusToGame("Броня"));
else format(armmp,sizeof(armmp),"%s: %.0f", RusToGame("Броня"), armour);
format(strKillP,sizeof(strKillP),"%s: %d", RusToGame("Игроков убито"), Player[playerid][pKill_s_g]);
format(zkstr,sizeof(zkstr),"%s: %d", RusToGame("Зомби убито"), Player[playerid][pKill_game]);
if(Player[playerid][pBad] >= 2000) format(strRepu,sizeof(strRepu),"%s: %s", RusToGame("Усталость"), RusToGame("Слабая"));
else if(Player[playerid][pBad] > 1300 && Player[playerid][pBad] < 2000) format(strRepu,sizeof(strRepu),"%s: %s", RusToGame("Усталость"), RusToGame("Средняя"));
else if(Player[playerid][pBad] > 650) format(strRepu,sizeof(strRepu),"%s: %s", RusToGame("Усталость"), RusToGame("Сильная"));
else format(strRepu,sizeof(strRepu),"%s: %s", RusToGame("Усталость"), RusToGame("Немощь"));
format(tmpstr,sizeof(tmpstr),"%s: %0.1f", RusToGame("Температура"), Player[playerid][pTemp]);
format(strTime, sizeof(strTime), "%s: 0%d.%d.%d", RusToGame("Прожито"), Player[playerid][pHour],Player[playerid][pMin],Player[playerid][pSec]);
}*/
PlayerTextDrawSetString(playerid,Debugmon[playerid][17],hstr);
PlayerTextDrawSetString(playerid,Debugmon[playerid][18],armmp);
PlayerTextDrawSetString(playerid,Debugmon[playerid][15],strKillP);//Mokluli Motamasheebi
PlayerTextDrawSetString(playerid,Debugmon[playerid][16],zkstr);//Mokluli Zombebi
PlayerTextDrawSetString(playerid,Debugmon[playerid][13],strRepu);//Daglilia Tu Dedaaq Motynuli
PlayerTextDrawSetString(playerid,Debugmon[playerid][14],tmpstr);//Temperatura
PlayerTextDrawSetString(playerid,Debugmon[playerid][12], strTime);//Ramdenixania
PlayerTextDrawSetString(playerid,Debugmon[playerid][20], Player[playerid][pName]);//время прожито
PHP код:
D:\1-ADMIN-ar cashaloo\Desktop\DayZ\gamemodes\dayz1.pwn(12614) : warning 213: tag mismatch
D:\1-ADMIN-ar cashaloo\Desktop\DayZ\gamemodes\dayz1.pwn(12615) : warning 213: tag mismatch
D:\1-ADMIN-ar cashaloo\Desktop\DayZ\gamemodes\dayz1.pwn(12616) : warning 213: tag mismatch
D:\1-ADMIN-ar cashaloo\Desktop\DayZ\gamemodes\dayz1.pwn(12617) : warning 213: tag mismatch
D:\1-ADMIN-ar cashaloo\Desktop\DayZ\gamemodes\dayz1.pwn(12618) : warning 213: tag mismatch
D:\1-ADMIN-ar cashaloo\Desktop\DayZ\gamemodes\dayz1.pwn(12619) : warning 213: tag mismatch
D:\1-ADMIN-ar cashaloo\Desktop\DayZ\gamemodes\dayz1.pwn(12620) : warning 213: tag mismatch
D:\1-ADMIN-ar cashaloo\Desktop\DayZ\gamemodes\dayz1.pwn(12621) : warning 213: tag mismatch
PlayerTextDrawSetString(playerid,Debugmon[playerid][17],hstr);
PlayerTextDrawSetString(playerid,Debugmon[playerid][18],armmp);
PlayerTextDrawSetString(playerid,Debugmon[playerid][15],strKillP);//Mokluli Motamasheebi
PlayerTextDrawSetString(playerid,Debugmon[playerid][16],zkstr);//Mokluli Zombebi
PlayerTextDrawSetString(playerid,Debugmon[playerid][13],strRepu);//Daglilia Tu Dedaaq Motynuli
PlayerTextDrawSetString(playerid,Debugmon[playerid][14],tmpstr);//Temperatura
PlayerTextDrawSetString(playerid,Debugmon[playerid][12], strTime);//Ramdenixania
PlayerTextDrawSetString(playerid,Debugmon[playerid][20], Player[playerid][pName]);//время прожито