SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 10/11/2012, 02:37 PM   #1
rogerioexper
Big Clucker
 
rogerioexper's Avatar
 
Join Date: Jul 2012
Posts: 197
Reputation: 1
Post ajuda com meu anti rcon

Quero decha o rcon só pro adm dono e se outro usar ele é kickado ajuda ae galera mais rp

PHP Code:
public OnRconLoginAttempt(ip[], password[], success)
{
new 
pip[16];
for(new 
i=0i<MAX_PLAYERSi++)
{
GetPlayerIp(ipipsizeof(pip));
if(!
strcmp(ippiptrue))
{
Kick(i"/RCON LOGIN");
}
}
return 
1;

rogerioexper is offline   Reply With Quote
Old 10/11/2012, 02:40 PM   #2
s4kuL
High-roller
 
s4kuL's Avatar
 
Join Date: Apr 2012
Posts: 1,116
Reputation: 158
Default Re: ajuda com meu anti rcon

Acho que isso pode ajudar..

pawn Code:
public OnRconLoginAttempt(ip[], password[], success)
{
    new pip[16];
    if(PlayerData[playerid][pAdmin] < 1340) return SendClientMessage(playerid,-1,"Você não é admin level 1340!");
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        GetPlayerIp(i, pip, sizeof(pip));
        if(!strcmp(ip, pip, true))
        {
            Kick(i, "/RCON LOGIN");
        }
    }
    return 1;
}
s4kuL is offline   Reply With Quote
Old 10/11/2012, 03:06 PM   #3
rogerioexper
Big Clucker
 
rogerioexper's Avatar
 
Join Date: Jul 2012
Posts: 197
Reputation: 1
Default Re: ajuda com meu anti rcon

vo testar vlw
rogerioexper is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] [FS] SCON - RCON Replacement for anti-RCON hack Lazarus Filterscripts 24 23/10/2013 12:40 PM
[AJUDA] preciso de um Anti-rcon Hack []=_HaDeS_=[VoW] Português/Portuguese 13 14/06/2012 01:58 PM
anti rcon login Calypsso Server Support 2 22/04/2009 02:04 PM
Rcon anti-flood breaks_server Help Archive 6 03/03/2009 04:47 PM


All times are GMT. The time now is 11:02 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.