mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08: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;
|
|
}
|
|
|
|
//----------------------------------------------------
|