Autosave timer and if(inputtext) error
#1

Код:
#if AUTOSAVE == true
		SetTimerEx("Save_Players",AUTOSAVE_INTERVAL*1000,true); //Start the autosave timer if enabled
	#endif
Thats the timer and it keeps saying that "SetTimerEx" is already defined...



Код:
/*case DIALOG_LOGIN:
        {
            if (!response) return Kick(playerid);

            if(response)
            {
                if(inputtext) == PlayerInfo[playerid][pPassword])
                {
                    INI_ParseFile(Path(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);

					format(string, sizeof(string), "SERVER:{FFFFFF} Welcome back, %s!", pname);
					SendClientMessage(playerid, 0x46E850FF, string);

					Logged[playerid] = true;

					SetSpawnInfo(playerid, 0, 0, -162.9535, 158.3127, 53.8754, 0.00, 0, 0, 0, 0, 0, 0);
                	SpawnPlayer(playerid);
                }

                else ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Login", "{FFFFFF}You have entered an {C44B4B}incorrect{FFFFFF} password.\nType your password below to login.", "Login", "Quit");

                return 1;
            }
        }*/
if i try using this i get the error "inputtext needs to be indexed"

Any ideas?
Reply


Messages In This Thread
Autosave timer and if(inputtext) error - by CSLangdale - 31.05.2016, 16:40
Re: Autosave timer and if(inputtext) error - by Kaliber - 31.05.2016, 17:21
Re: Autosave timer and if(inputtext) error - by CSLangdale - 01.06.2016, 12:39
Re: Autosave timer and if(inputtext) error - by CSLangdale - 01.06.2016, 12:42
Re: Autosave timer and if(inputtext) error - by Vince - 01.06.2016, 12:55
Re: Autosave timer and if(inputtext) error - by CSLangdale - 01.06.2016, 13:31
Re: Autosave timer and if(inputtext) error - by CSLangdale - 01.06.2016, 14:34

Forum Jump:


Users browsing this thread: 1 Guest(s)