24.07.2016, 13:29
Quote:
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 988) { if(response) // If they clicked 'Select' or double-clicked a weapon { // Give them the toy switch(listitem) { case 0: { SetPlayerAttachedObject(playerid, 0, 1337, 2); //Blackhat } case 1: { SetPlayerAttachedObject(playerid, 0, 1337, 2); //Blackhat } case 2: { SetPlayerAttachedObject(playerid, 0, 1337, 2); //Blackhat } } } } return 1; |