POMOC - ClickTD REG/LOGI

Započeo VladoBagwell, Decembar 05, 2014, 17:45:05 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:UP-RP
Detaljan opis problema:Iz GhettoRP moda od NeSToR-a sam prebacivo reg/log sa ClickTXD i sve super,a kada odem sa srv i ponovo udem nezeli mi uci na acc pise pogresan pw,a tocan pw ukucam!
Dio skripte:public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
    if(clickedid == ClickTXD0)
    {
KillTimer(LogRegTimer[playerid]); SetPlayerHealth(playerid, 99.0); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0);
if(fexist(Korisnici(playerid)))
{
new loginstring[512];
new loginname[126];
TextDrawHideForPlayer(playerid,ClickTXD0);
TextDrawHideForPlayer(playerid,ClickTXD1);
TextDrawHideForPlayer(playerid,ClickTXD2);
CancelSelectTextDraw(playerid);
TextDrawHideForPlayer(playerid,ClickTXD3);
GetPlayerName(playerid,loginname,sizeof(loginname));
format(loginstring,sizeof(loginstring),""ZUTA"=======================================\n\n"ZUTA"Dobrodosli na Ghetto RolePlay\n\n"ZUTA"Vase ime: "CRVENA"%s\n"ZUTA"Forum:"CRVENA" www.Ghetto.com \n"ZUTA"TeamSpeak3 IP:"CRVENA" 176.57.128.59:7785 \n"ZUTA"Unesite vasu lozinku\n"ZUTA"==========================================",loginname);
ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_PASSWORD,"Login",loginstring,"Login","Izlaz");
}
else
{
        /*TextDrawHideForPlayer(playerid,OC1); TextDrawHideForPlayer(playerid,OC2); TextDrawHideForPlayer(playerid,OC3);
        TextDrawHideForPlayer(playerid,OC4); TextDrawHideForPlayer(playerid,OC5); TextDrawHideForPlayer(playerid,OC6);
        TextDrawHideForPlayer(playerid,OC7); TextDrawHideForPlayer(playerid,OC8); TextDrawHideForPlayer(playerid,OC9);
        TextDrawHideForPlayer(playerid,TAMNO1); TextDrawHideForPlayer(playerid,TD1); TextDrawHideForPlayer(playerid,TD2);
        TextDrawHideForPlayer(playerid,TD3); TextDrawHideForPlayer(playerid,TD4);*/
        if(ServerInfo[isRegistracija] == 1)
    {
StatusKonekta(playerid, 5);
}
else if(ServerInfo[isRegistracija] != 1)
{
SendClientMessage(playerid, COLOR_YELLOW, ""ZUTA"[GH:RP]"CRVENA" Vi niste registrovani!");
}
}
}
if(clickedid == ClickTXD1)
    {
KillTimer(LogRegTimer[playerid]); SetPlayerHealth(playerid, 99.0); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0);
if(fexist(Korisnici(playerid)))
{
new loginname[126];
GetPlayerName(playerid,loginname,sizeof(loginname));
SendClientMessage(playerid, COLOR_YELLOW, ""ZUTA"[GH:RP]"CRVENA" Vec ste registrovani!");
}
else
{
CancelSelectTextDraw(playerid);
        /*TextDrawHideForPlayer(playerid,OC1); TextDrawHideForPlayer(playerid,OC2); TextDrawHideForPlayer(playerid,OC3);
        TextDrawHideForPlayer(playerid,OC4); TextDrawHideForPlayer(playerid,OC5); TextDrawHideForPlayer(playerid,OC6);
        TextDrawHideForPlayer(playerid,OC7); TextDrawHideForPlayer(playerid,OC8); TextDrawHideForPlayer(playerid,OC9);
        TextDrawHideForPlayer(playerid,TAMNO1); TextDrawHideForPlayer(playerid,TD1); TextDrawHideForPlayer(playerid,TD2);
        TextDrawHideForPlayer(playerid,TD3); TextDrawHideForPlayer(playerid,TD4);*/
        if(ServerInfo[isRegistracija] == 1)
    {
StatusKonekta(playerid, 5);
}
else if(ServerInfo[isRegistracija] != 1)
{

    TextDrawHideForPlayer(playerid, LoginTextdraw[0]);
TextDrawHideForPlayer(playerid, LoginTextdraw[1]);
TextDrawHideForPlayer(playerid, LoginTextdraw[2]);
TextDrawHideForPlayer(playerid, LoginTextdraw[3]);
TextDrawHideForPlayer(playerid,ClickTXD0);
    TextDrawHideForPlayer(playerid,ClickTXD3);
TextDrawHideForPlayer(playerid,ClickTXD1);
CancelSelectTextDraw(playerid);
TextDrawHideForPlayer(playerid,ClickTXD2);
new info[1024];
        strcat(info, ""ZELENA"|==========================================================|\n", sizeof(info));
        strcat(info, " "BELA"Dobrodosli na "ZUTA"Ghetto RolePlay\n", sizeof(info));
        strcat(info, " "BELA"Vas account"CRVENA" nije"BELA" registrovan\n", sizeof(info));
        strcat(info, " "BELA"Forum"ZUTA" www.Ghetto.com/forum\n", sizeof(info));
        strcat(info, " "BELA"TeamSpeak3 IP:"ZUTA"176.57.128.59:7785\n", sizeof(info));
        strcat(info, " "BELA"Unesite zeljenu lozinku da bi nastavili sa registracijom\n", sizeof(info));
        strcat(info, ""ZELENA"|==========================================================|", sizeof(info));

        ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_PASSWORD,"Registracija",info,"Registruj","Izadji");
        InterpolateCameraPos(playerid, 955.135131, -970.751525, 64.914772, 1219.692016, -941.729797, 69.473419, 20000);
        InterpolateCameraLookAt(playerid, 960.128601, -970.498596, 64.882156, 1224.672119, -941.313415, 69.632186, 1000);
}
}
}
    if(clickedid == ClickTXD2)
    {
    TextDrawHideForPlayer(playerid,ClickTXD0);
    TextDrawHideForPlayer(playerid,ClickTXD3);
TextDrawHideForPlayer(playerid,ClickTXD1);
TextDrawHideForPlayer(playerid,ClickTXD2);
    Kick(playerid);
    }
    return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):

Moze biti do toga jer GH:RP koristi hash.A ti ne.

~Scritpter~Loading~75%~

~C++~Loading~40%~

~X_G1~Loaded~

Sada gledam u modu i ima hash! I prebacio sam iz GH moda u moj mod i dalje nece