i have problem with names
#8

ok i'am create with dialog and working.
now how to get on if(response) to goto my house?
show code :

Код:
dcmd_gotohouse(playerid,params[])
{
#pragma unused params

new data[256];
format(data,sizeof(data),AccData,GetName(playerid));
new id,loop;
for(loop = 0; loop<3; loop++)
{
new f[256];
format(f,sizeof(f),"HouseID_%d",loop);
id = strval(dini_Get(data,f));
new str[256];
format(str,sizeof(str),"House ID: ({FFFF00}%d{FFFFFF})",id);
ShowPlayerDialog(playerid,DIALOG_GOTO_HOUSE,DIALOG_STYLE_LIST,"{00FF00}Your House List",str,"Goto","Exit");
}
return 1;
}
on if(dialogid == DIALOG_GOTO_HOUSE) what use code?

i use HouseInfo[houseid][X, Y,Z];


sorry for bad english...
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)