SA-MP Forums Archive
Help Money system and dialog login system - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help Money system and dialog login system (/showthread.php?tid=592103)



Help Money system and dialog login system - asnan1998 - 20.10.2015

How to fix saving money i'm use ladmin
Please help


Re: Help Money system and dialog login system - Sh4d0w2 - 20.10.2015

I had tried ladmin and its work perfectly.....maybe you can show us your code


Re: Help Money system and dialog login system - asnan1998 - 20.10.2015

indeed , but money is not tersave , only the score is saved


Re: Help Money system and dialog login system - Sh4d0w2 - 20.10.2015

Show us your code


Re: Help Money system and dialog login system - asnan1998 - 20.10.2015

CODE WHAT SIR ? IDK


Re: Help Money system and dialog login system - jlalt - 20.10.2015

Show us how you save the score gonna make money save for you,
about dialog login show your login command.


Re: Help Money system and dialog login system - asnan1998 - 20.10.2015

my server dont have login dialog sir


Re: Help Money system and dialog login system - asnan1998 - 20.10.2015

Quote:

dcmd_login(playerid,params[])
{
#pragma unused params
if (PlayerInfo[playerid][LoggedIn] == 1)
{
SendClientMessage(playerid,COLOR_RED,"* Error: Dan ini login dan diidentifikasi dengan akun Anda.");
return 1;
}
if (udb_Exists(PlayerName2(playerid)))
{
SendClientMessage(playerid,COLOR_RED,"* Estas registrado, pero no identificado usa /login");
return 1;
}
ShowPlayerDialog(playerid, DIALOGID0+2, DIALOG_STYLE_INPUT," ","{FFFFFF}Este nick estб registrado, ingresa la contraseсa en el cuadro negro.", "Ingresar", "");
return 1;
}
MensajeWarn(playerid)
{
new string1[128];
format(string1, sizeof(string1), "* La Contraseсa ingresada es incorrecta, Vuelve a intentar! Max: (%d)", PlayerInfo[playerid][FailLogin]);
SendClientMessage(playerid,COLOR_RED, string1);
return 1;
}

This is code


Re: Help Money system and dialog login system - jlalt - 20.10.2015

I did not say dialog login show you login command /login


Re: Help Money system and dialog login system - asnan1998 - 20.10.2015

Quote:

dcmd_login(playerid,params[])
{
#pragma unused params
if (PlayerInfo[playerid][LoggedIn] == 1)
{
SendClientMessage(playerid,COLOR_RED,"* Error: Dan ini login dan diidentifikasi dengan akun Anda.");
return 1;
}
if (udb_Exists(PlayerName2(playerid)))
{
SendClientMessage(playerid,COLOR_RED,"* Estas registrado, pero no identificado usa /login");
return 1;
}
ShowPlayerDialog(playerid, DIALOGID0+2, DIALOG_STYLE_INPUT," ","{FFFFFF}Este nick estб registrado, ingresa la contraseсa en el cuadro negro.", "Ingresar", "");
return 1;
}
MensajeWarn(playerid)
{
new string1[128];
format(string1, sizeof(string1), "* La Contraseсa ingresada es incorrecta, Vuelve a intentar! Max: (%d)", PlayerInfo[playerid][FailLogin]);
SendClientMessage(playerid,COLOR_RED, string1);
return 1;
}

this is sir