17.07.2017, 17:29
I want to make when the player picks up the item, some of the dialog
example
example
Код:
take_OnDialogResponse( playerid, dialogid, response, listitem) { if(dialogid == DIALOG_LOOT) { if(!response) return 1; if(response) { AddItem( playerid, ItemInfo[ DeadList[ playerid ][ listitem ] ][ Item_Name ], DeadQntList[ playerid ][ listitem ] ); HERE REMOVE DIALOG'S SELECTED ITEM! } return 1; } return 0; }