16.08.2012, 04:40
Excuse me, I added a New dialogs and it was working, iswear but Now when i click on the dialog in game, Nothing Happen like before, Did i do anything wrong?
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 88 { if(response) { if(listitem == 0) { GivePlayerWeapon(playerid, 31, 1000); GivePlayerWeapon(playerid, 24, 1000); GivePlayerWeapon(playerid, 29, 1000); SendClientMessage(playerid, red, "THANKS FOR DONATION"); } if(listitem == 1) { SetPlayerSkin(playerid, 165); } if(listitem == 2) { SetPlayerColor(playerid,COLOR_PURPLE); } if(listitem == 3) { SendClientMessage(playerid, red, "Error: We will add the toys soon"); } } return 1; } return 0; } |