01.07.2014, 11:43
stock AdminRank(playerid)
{
new file[64];
GetPlayerName(playerid,pname,MAX_PLAYER_NAME);
format(file, 64, "Admin/Users/%s.ini", pname);
return DOF2_GetInt(file, "AdminRank");
}
The error line: AdminRank(playerid) = DOF2_GetInt(GetFile(playerid), "AdminRank");
pliz helpp!!
{
new file[64];
GetPlayerName(playerid,pname,MAX_PLAYER_NAME);
format(file, 64, "Admin/Users/%s.ini", pname);
return DOF2_GetInt(file, "AdminRank");
}
The error line: AdminRank(playerid) = DOF2_GetInt(GetFile(playerid), "AdminRank");
pliz helpp!!