INI string
#4

You use Y_INI to manage your files? (https://sampforum.blast.hk/showthread.php?tid=175565)

Use https://sampwiki.blast.hk/wiki/ShowPlayerDialog to show a dialog to the player (use style DIALOG_STYLE_INPUT https://sampwiki.blast.hk/wiki/Dialog_Styles ) then use https://sampwiki.blast.hk/wiki/OnDialogResponse to know what he typed.

If he press the left button response is one, so if the first button is "Save Email" do:

Код:
if (response)
{
// Here save your email address
//
INI_WriteString ( File_Handler , "email", inputtext );
}
Inside inputtext you have what he typed.
Reply


Messages In This Thread
INI string - by CH | FuDo - 03.08.2013, 23:50
Re: INI string - by RedJohn - 04.08.2013, 00:12
Re: INI string - by CH | FuDo - 04.08.2013, 00:35
Re: INI string - by ReVo_ - 04.08.2013, 00:40

Forum Jump:


Users browsing this thread: 1 Guest(s)