Player A.K.A (As Known As)
#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


Messages In This Thread
Player A.K.A (As Known As) - by ]Rafaellos[ - 04.03.2013, 13:10
Re: Player A.K.A (As Known As) - by [MG]Dimi - 04.03.2013, 14:17
Re: Player A.K.A (As Known As) - by Jewell - 04.03.2013, 14:41
Re: Player A.K.A (As Known As) - by ]Rafaellos[ - 04.03.2013, 15:39

Forum Jump:


Users browsing this thread: 1 Guest(s)