22.04.2015, 18:17
Hello i have one problem ,
can't true name, look this code:
can't true name, look this code:
Код:
dcmd_findhouse(playerid,params[]) { #pragma unused params new fName[MAX_PLAYER_NAME]; GetPlayerName(playerid,fName,sizeof(fName)); for(new i=0; i<MAX_HOUSES; i++) { new hdata[256]; format(hdata,sizeof(hdata),"Houses/UsersHouses/%d.ini",i); if(HouseInfo[i][hRemoved] == 1)break; if(HouseInfo[i][hOwner] == strlen(fName)) // here is my problem { new str[256]; format(str,sizeof(str),"Find One ID your {00FF00}house{FFFFFF} ({FFFF00}%d{FFFFFF})",i); SendClientMessage(playerid,-1,str); } } return 1; }