[HELP ME] Password protect certain skin ID's
#6

Код:
public OnPlayerRequestClass(playerid,classid)
{
  if(classid == TheSkinNumberGoesHere)
  {
    ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"EnterPassword","Enter your password below:","Spawn","Cancel");
  }
  return 1;
}

then on dialog response


		if(dialogid == 1)
		{
		  heregoes the function you want w.e iff they enter the right password will spawn em
          also define what that Input box we did below effect will be
		}
		else
		{
          here you define what heppens if the player enter the wrong password
          a new dialog window and a message maybe? so they have to reenter password idk
          i think this is enought help i have to go sleep later :D

		}
heres a minitutorial this will be enought information to make it anyways gtg later
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)