SA-MP Forums Archive
I need some help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: I need some help (/showthread.php?tid=586939)



I need some help - Elephant - 26.08.2015

how to access with the rcon password ? I mean when i doing the correct password it says i did bad password
[19:00:58] [join] Danny_Williams has joined the server (2:192.168.1.16)
[19:01:20] [cmd] [Danny_Williams] /help
[19:01:30] //Deleting Vehicles For ID: 2
[19:01:30] [part] Danny_Williams has left the server (2:2)
[19:01:30] RCON (In-Game): Player #2 (Danny_Williams) has logged in.
i get banned every time after i attempt the password
also my friend can't join the server we checked the IP few times and even the samp version


Re: I need some help - Sellize - 26.08.2015

See your PM.


Re: I need some help - SoFahim - 26.08.2015

Show us the
PHP Code:
public OnRconLoginAttempt 
codes. Maybe this post should be in scripting help board


Re: I need some help - Elephant - 27.08.2015

Quote:
Originally Posted by SoFahim
View Post
Show us the
PHP Code:
public OnRconLoginAttempt 
codes. Maybe this post should be in scripting help board
public OnRconLoginAttempt(ip[], password[], success)
{
if(success)
{
new pip[16];
////foreach(Player,i)
for(new i; i<MAX_PLAYERS; i++)
{
GetPlayerIp(i, pip, sizeof(pip));
if(!strcmp(ip, pip, true))
if(PlayerInfo[i][pAdmin] < 3) Ban(i);