Destroying a dynamic object.
#7

Try to add some debug-prints between each line, reload the server, try to delete an ATM as usual then open your serverlog.txt and see what gets printed and what not:

pawn Код:
if(dialogid == 52)
{
    print("Dialog 52 called");
    if(response)
    {
        print("Respones = 1");
        new tmpid = IsPlayerAtATM(playerid);
        printf("Current ATM ID: %d", tmpid);
        if(tmpid!=-1)
        {
            print("ID is NOT -1)"
            new path[32];
            format(path,sizeof(path),"atm%d.txt",tmpid);
            printf("Trying to delete file: %s", path");
            dini_Remove(path);
            print("
File removed");
Reply


Messages In This Thread
Destroying a dynamic object. - by TheSnaKe - 23.12.2014, 15:49
Re: Destroying a dynamic object. - by TheSnaKe - 23.12.2014, 20:24
Re: Destroying a dynamic object. - by Schneider - 23.12.2014, 20:29
Re: Destroying a dynamic object. - by TheSnaKe - 23.12.2014, 20:34
Re: Destroying a dynamic object. - by Schneider - 23.12.2014, 21:14
Re: Destroying a dynamic object. - by TheSnaKe - 23.12.2014, 21:28
Re: Destroying a dynamic object. - by Schneider - 23.12.2014, 22:21

Forum Jump:


Users browsing this thread: 2 Guest(s)