i have problem with names
#1

Hello i have one problem ,
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;
}
Reply


Messages In This Thread
i have problem with names - by giorgosdim12 - 22.04.2015, 18:17
Re: i have problem with names - by donsta3000 - 22.04.2015, 20:36
Re: i have problem with names - by Azula - 22.04.2015, 20:52
Re: i have problem with names - by giorgosdim12 - 23.04.2015, 13:31
Re: i have problem with names - by Konstantinos - 23.04.2015, 13:40
Re: i have problem with names - by Maximun - 23.04.2015, 13:48
Re: i have problem with names - by giorgosdim12 - 23.04.2015, 14:14
Re: i have problem with names - by giorgosdim12 - 23.04.2015, 14:18
Re: i have problem with names - by AberKane - 23.04.2015, 14:42
Re: i have problem with names - by giorgosdim12 - 23.04.2015, 15:04

Forum Jump:


Users browsing this thread: 1 Guest(s)