How to check if an entry exists using YINI? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to check if an entry exists using YINI? (
/showthread.php?tid=537327)
How to check if an entry exists using YINI? -
Magic_Time - 14.09.2014
Hi, I want to check whether an entry exist and if so delete it.
An example:
PHP код:
if(EntryExist(file, "pVIP"))
{
INI_RemoveEntry(file, "pVIP"))
}
How could I make a function like that?