17.03.2010, 22:19
Code:
new minimenu; // at the verytop put this minimenu = CreatePickup(234, 23, -2348.942,261.415,2.65); //put this under ongamemodeinit and change the position to binco public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == minimenu) { ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Rich", "Not rich", "Select", "Cancel");!"); } return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { new string[128]; if(dialogid == 1 ) { if(!response) { ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "nRich", "nNot Rich", "Select", "Cancel"); TogglePlayerControllable(playerid, 0); } if(response) { if(listitem == 0) { SetPlayerSkin(playerid,23); // choose the skin id by changing the 23 ... } } if(listitem == 1) { SetPlayerSkin(playerid, 25); ///// for this one also } return 1; }