Player A.K.A (As Known As)
#1

Hi, i am using LuXAdmin at the moment but i am developing my own Administrator System. I'm using Y_Ini for saving the player data. Is their any way to find if the player have an second account?

NOTE: Please don't give me the LuXAdmin one.
Reply
#2

On Connect save his username under his password in file (example Aka.txt). Then when you want to check does he have another account load accounts used by that IP.
Reply
#3

i'm also making new adminscript system using y_ini. i already made a aka system. it's not hard create a aka system with y_ini.
in dini you can directly read data from a file. but if you are using yini you have to read data from a file and store it to a variable first.

basically i'm doing this
pawn Код:
new aka[128],playerIP[16];//on top
//onplayerconnect
GetPlayerIp(playerid,playerIP,16);
format(file,sizeof(file),"aka.ini"); //aka
INI_ParseFile(file,"GetNicks");

//
public GetNicks(name[], value[])
{
    INI_String(playerIP,aka,128);
    return 1;
}
and then check the player name in aka string. if string length is 0(aka) it means player doesn't have an accounts by that ip. improve it yourself with y_ini tutorial
Reply
#4

I don't understand what you mean ;S
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)