06.11.2014, 10:03
(
Последний раз редактировалось buburuzu19; 06.11.2014 в 11:33.
)
FIXED.
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1155)
{
if(!response)return 1;
new pos = strfind(inputtext, "ID", true);
new id;
if(inputtext[pos+4] == ']')id = strval(inputtext[pos+3]);
else id = (strval(inputtext[pos+3])*10) + strval(inputtext[pos+4]);
//now id contains the player id which is to find...use 'id' in ud finding system...
}
return 0;
}