House Dialog Help!
#1

i have doen this first time if house not buyed its show me the dialog buy first thing work now when i buy it and sell it its not give me the Dialog for buy again ! its give me that dialog Only for Enter Help!!


Код:
stock GetHouseStats(playerid, hid)
{
	new str1[256];
	new str2[256];
	new housenumber = GetHouseID(playerid);
	new pname[24];
	GetPlayerName(playerid,pname,24);
	format(str1,sizeof(str1),"%s House [%d]",hInfo[hid][Name],housenumber);
	format(str2,sizeof(str2),"ForSale House [%d] - Cost ($%i)",housenumber,hInfo[hid][Cost]);
	
	if(strcmp(hInfo[housenumber][Name],pname,true)==0){
	ShowPlayerDialog(playerid,yourhouse,DIALOG_STYLE_LIST,"Your House","Enter House\nLock House\nUnlock House\nSell House","Select","Cancel");
	}

	if(strcmp(hInfo[housenumber][Name],pname,false)){
	ShowPlayerDialog(playerid,notyourhouse,DIALOG_STYLE_LIST,str1,"Enter House","Enter","Cancel");
	}
	
	if(hInfo[housenumber][Owned] == 0){
	ShowPlayerDialog(playerid,buyhouse,DIALOG_STYLE_LIST,str2,"Buy House\nTry House","Select","Cancel");
	}
}
Reply
#2

Quote:
Originally Posted by [MKD]Max
Посмотреть сообщение
i have doen this first time if house not buyed its show me the dialog buy first thing work now when i buy it and sell it its not give me the Dialog for buy again ! its give me that dialog Only for Enter Help!!

I barely understood what you just said..
Punctuation is there for some reason.
Reply
#3

i want help! man help me not say something to me!
Reply
#4

Quote:
Originally Posted by [MKD]Max
Посмотреть сообщение
i want help! man help me not say something to me!
I can't help you unless I understand what your problem is, which is actually impossible.
So read my 'something' and correct your mistakes.
Reply
#5

Come to my server to see ok ip

84.229.141.235:7777


and you will see man
Reply
#6

No Need Help thanks all i fix it by me self!


scripter always fix everthing !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)