09.09.2015, 07:54
Hi Guys I'm Have A Own Admin System I'm Trying To Making Include For My Admin System But FAIL I Need Your Help I Want Make The Include That I Can Use It On My Other FS Any Idea? Please Help Me

Dude, why you would have this include ? you scripted your own FS, no need to include it.
- KillerDVX. |
stock GetPlayerAdminLevel(playerid) {
new
t_sName[MAX_PLAYER_NAME],
t_iKey
;
GetPlayerName(playerid, t_sName, MAX_PLAYER_NAME);
t_iKey = DB::RetrieveKey(user_table, "username", t_sName);
if (t_iKey != DB::INVALID_KEY) {
return DB::GetIntEntry(user_table, t_iKey, "admin");
}
return 0;
}
stock GetPlayerAdminLevel(playerid) {
new
t_sName[MAX_PLAYER_NAME],
t_sPath[MAX_PLAYER_NAME + 20]
;
GetPlayerName(playerid, t_sName, MAX_PLAYER_NAME);
strcat(t_sPath, "AdminPath/");
strcat(t_sPath, t_sName);
strcat(t_sPath, ".ini");
if (! dini_Exists(t_sPath)) {
return 0;
}
return dini_Int(t_sPath, "adminlevel");
}