Automatic rcon login
#1

How can i make a automatic rcon login script? i want so that it looks to your ip, so i can put self the ip in it
Reply
#2

https://sampwiki.blast.hk/wiki/SendRconCommand
Reply
#3

Quote:
Originally Posted by Don Correlli
I'm afraid that would not work because you can't specify a playerid or whatever..
Reply
#4

Quote:
Originally Posted by security
How can i make a automatic rcon login script? i want so that it looks to your ip, so i can put self the ip in it
OnPlayerConnect, check Player IP using GetPlayerIP and strcmp (cause IP is a string)
Then use SendRconCommand("login password here");
And OnRconCommand check player's IP again, if it maches, use return 1;, if it don't use return 0;
Reply
#5

Quote:
Originally Posted by MaVe;
I'm afraid that would not work because you can't specify a playerid or whatever..
How would you pass the playerid that should get logged in?
Reply
#6

Quote:
Originally Posted by MaVe;
Quote:
Originally Posted by MaVe;
I'm afraid that would not work because you can't specify a playerid or whatever..
How would you pass the playerid that should get logged in?
Check my post :P
Reply
#7

Quote:
Originally Posted by SiJ
Quote:
Originally Posted by MaVe;
Quote:
Originally Posted by MaVe;
I'm afraid that would not work because you can't specify a playerid or whatever..
How would you pass the playerid that should get logged in?
Check my post :P
gonna try can take a while first need to find out to make the damn code XD
Reply
#8

Quote:
Originally Posted by SiJ
Quote:
Originally Posted by MaVe;
Quote:
Originally Posted by MaVe;
I'm afraid that would not work because you can't specify a playerid or whatever..
How would you pass the playerid that should get logged in?
Check my post :P
How should SendRconCommand know which player you want to log in??..
Reply
#9

Quote:
Originally Posted by MaVe;
Quote:
Originally Posted by SiJ
Quote:
Originally Posted by MaVe;
Quote:
Originally Posted by MaVe;
I'm afraid that would not work because you can't specify a playerid or whatever..
How would you pass the playerid that should get logged in?
Check my post :P
How should SendRconCommand know which player you want to log in??..
Ohh.. that's what you meant.. I haven't thought about it..
Reply
#10

i dont follow it any more xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)