Binco
#8

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;
}
Now for the money part .. so it takes his money ... ask ther people .. cuz i dont remember it
Reply


Messages In This Thread
Binco - by Steven82 - 17.03.2010, 03:50
Re: Binco - by Jay_ - 17.03.2010, 13:38
Re: Binco - by Steven82 - 17.03.2010, 21:53
Re: Binco - by MrIncredible - 17.03.2010, 22:08
Re: Binco - by MrIncredible - 17.03.2010, 22:12
Re: Binco - by Rzzr - 17.03.2010, 22:15
Re: Binco - by Steven82 - 17.03.2010, 22:19
Re: Binco - by MrIncredible - 17.03.2010, 22:19
Re: Binco - by Steven82 - 17.03.2010, 22:25
Re: Binco - by Rzzr - 17.03.2010, 22:27
Re: Binco - by Steven82 - 17.03.2010, 22:32
Re: Binco - by Bonez84 - 27.03.2010, 15:52
Re: Binco - by Steven82 - 27.03.2010, 16:22

Forum Jump:


Users browsing this thread: 1 Guest(s)