29.12.2012, 03:41
U can do it like this:
pawn Код:
if(!fexist("settings.ini")) // settings.ini should be inside scriptfiles folder. This code will run if it not exists there.
{
printf("[SERVER] Settings.ini is missing from the scriptfiles folder! Server will be locked now.");
SendRconCommand("password settings"); // Now the password to connect will be required.
}