12.09.2017, 06:33
Quote:
How can I do that?
Код:
Dialog:DIALOG_FACTION(playerid, response, listitem, inputtext[]) { if(!response) return cmd_faction(playerid); // ... return 1; } ... CMD:faction(playerid) { // ... return 1; } |
PHP код:
return PC_EmulateCommand(playerid, "faction");
EDIT: be careful, no idea what the function returns, so you might want to
PHP код:
return PC_EmulateCommand(playerid, "faction"), 1;