07.08.2011, 13:51
(
Последний раз редактировалось doreto; 07.08.2011 в 14:59.
)
i need help wich OnPlayerCommandText and public OnDialogResponse and trying to make assist dialog but mess all stuff and merge so here my example
so my question is how to make OnDialogResponse wich no mess and merge other commands
and i have one more question how to make like dialog example (Stuff>>Items>>Camera,phone and ect....)
PHP код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/assistance", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Assistance","Repair\nFlip and ect...","Call", "Cansel");
return 1;
}
return 0;
}
and i have one more question how to make like dialog example (Stuff>>Items>>Camera,phone and ect....)