[Pomoć] - Ne ispisuje podatke

Započeo elemental.
11. Jul 2014. Zaključano
179
pregleda
2
postova
Samper
5
Kingpin
11. Jul 2014.
Skripta koju koristim: Moja od 0
Detaljan opis problema: Ponovo sam pisao cijeli kod za registraciju, i treba da pri unosu passworda da kreira igračev fajl, ali ništa. Ne razumijem u čemu je problem
Dio skripte:

Vrh skripte:
#define PLAYERS     "/Igraci/%s.ini"

AccountPath
stock AccountPath(playerid)
{
    new string, playername;
    GetPlayerName(playerid, playername, sizeof(playername));
    format(string, sizeof(string), PLAYERS, playername);
    return string;
}

Password Dialog
case DIALOG_PASSWORD:
    {
        if(!response)
        if(response)
        {
        new INI:File = INI_Open(AccountPath(playerid));
INI_SetTag(File,"data");
INI_WriteString(File, "Lozinka", inputtext);
INI_WriteString(File, "PrIme", GetName(playerid));
INI_WriteString(File, "DrIme", "None");
INI_WriteString(File, "TrIme", "None");
INI_WriteInt(File, "PrAcc", 0);
INI_WriteInt(File, "DrAcc", 0);
INI_WriteInt(File, "TrAcc", 0);
INI_WriteInt(File, "PrSkin", 299);
INI_WriteInt(File, "DrSkin", 299);
INI_WriteInt(File, "TrSkin", 299);
INI_WriteInt(File, "Novac", 250);
INI_WriteInt(File, "PrLevel", 1);
INI_WriteInt(File, "DrLevel", 1);
INI_WriteInt(File, "TrLevel", 1);
INI_WriteInt(File, "GameAdmin", 0);
INI_WriteInt(File, "GameSupporter", 0);
INI_WriteInt(File, "Godine", 0);
INI_WriteInt(File, "Spol", 0);
INI_WriteInt(File, "Grad", 0);
INI_WriteInt(File, "Ubojstva", 0);
INI_WriteInt(File, "Umorstva", 0);
INI_Close(File);
}
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
TextDrawShowForPlayer(playerid, RegistracijaC);
}
Johnâ„¢
5
Godfather
12. Jul 2014.
To ti je zbog ovog dijela:

if(!response)
if(response)


Taj dio ti uopće nema smisla. Slobodno izbrišeš if(!response).

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha