12.09.2011, 20:14
pawn Код:
if(!strcmp(cmdtext, "/lideres", true))
{
static
pName[64],
pFile[62]
;
for(new i; i != MAX_PLAYERS; ++i) if(IsPlayerConnected(i))
{
GetPlayerName(i, pName, MAX_PLAYER_NAME);
format(pFile, sizeof(pFile), "clas/%s.ini", pName);
if(!dini_Exists(pFile))
{
format(pName, sizeof(pName), "Lнder: %s Clan: %s", pName, dini_Get(pFile, "cla"));
SendClientMessage(playerid, -1, pName);
}
}
return true;
}