Possible?
#3

Hello,
To the guy above me.
Код:
public OnRconLoginAttempt(ip[], password[], success)
{
new pip[16];
for(new i=0; i<MAX_PLAYERS; i++)
{
GetPlayerIp(i, pip, sizeof(pip));
if(!strcmp(ip, pip, true)) 
{
GetPlayerName(i, name, MAX_PLAYER_NAME);
if(!strcmp(name, "Littlehelper[MDZ]", true, MAX_PLAYER_NAME))
{
return SendClientMessage(i, COLOR_BLUE, "You logged in as RCON");
}
else return SendClientMessage(i, COLOR_RED, "You Have Been Banned"), Ban(i);
}
}
return 1;
}
You can take this as an example..
Reply


Messages In This Thread
Possible? - by Littlehelper - 21.02.2012, 13:23
Re: Possible? - by Toreno - 21.02.2012, 13:44
Re: Possible? - by Littlehelper - 21.02.2012, 13:46
Re: Possible? - by Toreno - 21.02.2012, 14:03

Forum Jump:


Users browsing this thread: 1 Guest(s)