Hi I am working in a mode that MultiAcc thing and I did it in dini but I would like to data to ini-write and fix it
Код:
if(!strcmp(PlayerIP(playerid), PlayerIP(playerid), true) != !strcmp(pname(playerid), dini_Get(MultiAcc,PlayerIP(playerid)), true))
{
SendClientMessage(playerid, 0xFF0000AA, "[ MultiAcc ]{FFFFFF} Bol si zabanovanэ za vytvorenie druheho učtu. [ Dфvod: MultiAcc ]");
format(mess,sizeof(mess),"Vaљa IP je priradenб k učtu %s",dini_Get(PlayerIP(playerid)));
SendClientMessage(playerid, 0xFFEE00AA,mess);
BanEx(playerid,"MultiAcc");
}
try viewing some tut based on Y_ini, also you can use ips to check for multiacc for the players