PDA

View Full Version : Auto Login


[INA]Crazy
03/11/2012, 12:24 PM
i`m have problem in auto login . how to remove auto login in gamemode ?

Laure
03/11/2012, 12:26 PM
Can we see the code please? First the cmd.

[INA]Crazy
03/11/2012, 12:30 PM
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

Laure
03/11/2012, 12:34 PM
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.

tyler12
03/11/2012, 12:36 PM
Show OnPlayerConnect..

[INA]Crazy
03/11/2012, 12:54 PM
i use gamemode moneypimp , how to remove auto login ?

Rayan_black
03/11/2012, 12:59 PM
Show us OnPlayerConnect line...

[INA]Crazy
03/11/2012, 01:18 PM
This

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