ClearIni
From Liberty Unleashed Wiki
Note: This function requires the external module lu_ini.
This function clears an .ini file.
Syntax
bool ClearIni( string file )
Arguments
- file - The name of the .ini file which should be cleared
Example
function onPlayerCommand( player, cmd, text ) { if ( cmd == "clearini" ) { if ( text ) ClearIni( text ); } }
This will clear the ini that is stated in the command.
Notes
The call onPlayerCommand was used in in this example. More info about this in the corresponding page.
Related Functions
These functions are provided by the official module lu_ini.