if(fexist(UserPath(playerid))) { INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid); ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit"); }
<summary>INI_ParseFile</summary> <param name="filename[]">The file to load.</param> <param name="remoteFormat[]">The format string to generate the remote function t pass the data to once loaded.</param> <param name="bool:bFileFirst">The order of the remoteFormat parameters.</param> <param name="bool:bExtra">Send additional data.</param> <param name="extra">Additional data to send.</param> <param name="bLocal">Call local functions instead of gloabal ones.</param> <param name="bPassTag">Pass the tag as an extra parameter not the function name.</param> <param name="bFilter">Apply the tag name filter to all tags or just prefixed ones?</param> <param name="filter">Text to use to search for which tags to load.</param> <returns> - </returns> <remarks> bFileFirst sets the order and inclusion of the possible remoteFormat parameters. If true the format will add the filename first then the current tag, if false the order will be reversed. This can also be used to exclude one or the other from the function name by setting the required parameter to be entered first and then only haing one %s in the format sting. The default order is tag first for languages compatability. </remarks> |