07.10.2016, 15:39
How can i make when player typing some thing like "Hello" into the dialog that player will recive some thing like money
if (!strcmp(inputtext, "Hello", true)) GivePlayerMoney(playerid, 1000);
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == YOUR DIALOG ID) { if(!strcmp("Hello", inputtext, false)) { GivePlayerMoney(playerid, 1337); } } return 1; }