SA-MP Forums Archive
Auto Login - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Auto Login (/showthread.php?tid=389747)



Auto Login - [INA]Crazy - 03.11.2012

i`m have problem in auto login . how to remove auto login in gamemode ?


Re: Auto Login - Laure - 03.11.2012

Can we see the code please? First the cmd.


Re: Auto Login - [INA]Crazy - 03.11.2012

Quote:

else if(strcmp(params,"autologin",true) == 0) {
ServerInfo[AutoLogin] = 1;
dini_IntSet(file,"AutoLogin",1);
format(string,sizeof(string),"|- Administrator %s has enabled Auto Login", PlayerName2(playerid));
MessageToAdmins(orange,string);
}

maybe that , i dont know what code auto login


Re: Auto Login - Laure - 03.11.2012

It should work with /tog then if you want to remove this command just /* at the first end and */ at the second end then compile post again in case of warnings or errors.


Re: Auto Login - tyler12 - 03.11.2012

Show OnPlayerConnect..


Re: Auto Login - [INA]Crazy - 03.11.2012

i use gamemode moneypimp , how to remove auto login ?


Re: Auto Login - Rayan_black - 03.11.2012

Show us OnPlayerConnect line...


Re: Auto Login - [INA]Crazy - 03.11.2012

This
Quote:

//==============================On Player Connect===============================
public OnPlayerConnect(playerid)
{
NeedsHelp[playerid] = 0;
Helping[playerid] = -1;