mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-11-27 00:10:39 +00:00
16 lines
261 B
C++
16 lines
261 B
C++
#include <stdio.h>
|
|
|
|
//----------------------------------------------------
|
|
|
|
int CanFileBeOpenedForReading(char * filename)
|
|
{
|
|
FILE *f;
|
|
if(f=fopen(filename,"r")) {
|
|
fclose(f);
|
|
return 1;
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
//----------------------------------------------------
|