mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-20 12:46:07 +08:00
[server] Implement CNetGame::SetNextScriptFile(...)
This commit is contained in:
15
server/runutil.cpp
Normal file
15
server/runutil.cpp
Normal file
@ -0,0 +1,15 @@
|
||||
#include <stdio.h>
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
int CanFileBeOpenedForReading(char * filename)
|
||||
{
|
||||
FILE *f;
|
||||
if(f=fopen(filename,"r")) {
|
||||
fclose(f);
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
Reference in New Issue
Block a user