26.02.2012, 00:47
pawn Код:
if(strcmp(cmdtext, "/minhacasa", true) == 0)
{
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
for(new c = 0; c < MAX_CASAS; c++)
{
format(string, sizeof(string), "/Casas/casa%d.ini", c);
if(!strcmp(dini_Get(string, "Dono"), pname, true))
{
format(string, sizeof(string), "[CASAS] %s sua casa й a id: %d", pname, c);
SendClientMessage(playerid, Vermelho, string);
}
}
}