Reading a string from a file using Dini
#2

pawn Код:
if( dini_Get(string, "Banned") == "yes" )
{
    // if 'Banned' in the file equals to 'yes'
}
else
{
    // if the player isnt banned, equals to 'no'
}
That will do it
Reply


Messages In This Thread
Reading a string from a file using Dini - by Homerman - 12.10.2011, 21:13
Re: Reading a string from a file using Dini - by Wesley221 - 12.10.2011, 21:27
Re: Reading a string from a file using Dini - by Homerman - 13.10.2011, 12:06
Re: Reading a string from a file using Dini - by llama - 13.10.2011, 12:34
Re: Reading a string from a file using Dini - by Homerman - 13.10.2011, 13:47
Re: Reading a string from a file using Dini - by llama - 13.10.2011, 15:09
Re: Reading a string from a file using Dini - by Homerman - 13.10.2011, 16:04
Re: Reading a string from a file using Dini - by Homerman - 14.10.2011, 12:22
Re: Reading a string from a file using Dini - by llama - 14.10.2011, 14:46
Re: Reading a string from a file using Dini - by Homerman - 14.10.2011, 21:27

Forum Jump:


Users browsing this thread: 2 Guest(s)