RCON login success message? - 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: RCON login success message? (
/showthread.php?tid=562527)
RCON login success message? -
kristo - 09.02.2015
When someone fails at logging into RCON, "BAD RCON ATTEMPT BY: xxxxx" will be printed to the console. Could someone give me the message that gets printed when the attempt is successful? Thanks!
PS: I don't mean In-Game RCON printings but the other ones.
Re: RCON login success message? -
Schneider - 09.02.2015
"[15:49:23] RCON (In-Game): Player #0 (Schneider) has logged in."
Re: RCON login success message? -
JeaSon - 09.02.2015
https://sampwiki.blast.hk/wiki/OnRconLoginAttempt
pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
if(success) //If the password was correct
{
// your msg code here
}
return 1;
}
Re: RCON login success message? -
kristo - 09.02.2015
Nah, Schneider, I don't mean these messages:
I mean the opposite to this:
Quote:
[19:18:15] BAD RCON ATTEMPT BY: xx.xx.xx.xx
|
This gets printed by SA:MP when someone tries to log in from an external panel, cracking tool, etc.
Re: RCON login success message? -
Vince - 09.02.2015
It just says "You are logged in as admin.".
Re: RCON login success message? -
kristo - 09.02.2015
In the console?
Re: RCON login success message? -
Vince - 09.02.2015
No, in-game. The console doesn't print any other messages when a player successfully logs in, besides the one that Schneider already posted.