02.09.2010, 13:50
pawn Код:
if(strcmp(cmd, "/checkapps", true) == 0)
{
//if(PlayerInfo[playerid][pAdmin] >= 1)
//{
new str1[1280];
format(str1, sizeof(str1), "Logs/waiters.ini");
if(!strcmp(dini_Get(str1, "Name"),"None",false))
{
format(string, sizeof(string),"%s", dini_Get(str1, "Name"));
SendClientMessage(playerid, COLOR_YELLOW, string);
}
else if(!strcmp(dini_Get(str1, "Name2"),"None",false))
{
format(string, sizeof(string),"%s", dini_Get(str1, "Name2"));
SendClientMessage(playerid, COLOR_YELLOW, string);
}
}
if try to make if dini_get is not None so...
what the problem?