24.10.2010, 18:08
its posted in the code tags above
but here is the lines that could be affecting it
but here is the lines that could be affecting it
pawn Код:
CMD:login(playerid, params[])
{
new PlayerName[MAX_PLAYER_NAME];
GetPlayerName(playerid, PlayerName, MAX_PLAYER_NAME);
if(IsLogged[playerid] == 0)
{
new password[24];
if(sscanf(params, "s", password))return SendClientMessage(playerid,0xFFA429FF,"[LOGIN-USAGE] /login [PASSWORD]");
else
{
format(file,sizeof(file),"CSAdmin/Users/%s.ini",PlayerName);
if(dini_Exists(file))
{
if(strcmp(dini_Get(file, "Password"), udb_hash(password), true)) <--- line 296 this is where the error occurs

