please help
#1

Hello everybody i need some help with Dini
i have this script:
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
        if (strcmp("/Numeriai", cmdtext, true, 10) == 0)
        {
            if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xFFFFFFFF,"Jūs Nesate Transporte");
            new string[60];
            format(string,60,"Iveskite Savo Numerius.",string);
                ShowPlayerDialog(playerid,0,DIALOG_STYLE_INPUT,"{EE7777}Transporto Numeriai",string,"Gerai","Iseiti");
                return 1;
        }
        return 0;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
        if(dialogid == 0) {
                if(response) {
                    SetVehicleNumberPlate(GetPlayerVehicleID(playerid), inputtext);
                    SetVehicleToRespawn(GetPlayerVehicleID(playerid));
                        } else {
                        SendClientMessage(playerid,0xFFFFFFFF,"Atљaukta!");
                        }
                }
        return 1;
}
but when i log out and next time log in in game my vehicle plate is gone
i need a tut how to save in Dini can someone help me?
Reply


Messages In This Thread
please help - by ancezas - 31.08.2011, 05:43
Re: please help - by Darnell - 31.08.2011, 06:02
Re: please help - by Farsek - 31.08.2011, 06:08

Forum Jump:


Users browsing this thread: 1 Guest(s)