Quote:
Originally Posted by TopShooter
To disable the rcon password, try the following;
Use a password similar to this password: " ש א k s ד ו ז ח י"
I tried this rcon password on my server and it doesn't let anyone login to the rcon, although they copied/pasted this pass.
If it didn't work then try this snippet;
PHP Code:
public OnRconLoginAttempt(ip[], password[], success)
{
if(!success)
{
Kick(playerid);
}
return 1;
}
This snippet will kick anybody who logs to the rcon.
|
You need a forloop OnRconLoginAttempt doesn't have a playerid parameter,also i'll advice add chances like 3/3 chances then you get kick in the case of a wrong spelling you'll get kick.