if player logs in rcon?
#1

Heey guys,
I want to make if someone logs into rcon he gets money but how can i do that?
Reply
#2

Make a command like /givemoney only for RCON users.
Reply
#3

When a player logs into RCON, this callback is called.
Reply
#4

Here you go.
pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
    if(success) //If the password was correct
    {
        GivePlayerMoney(playerid, amount); //Change amount to howmuch money you want him to get.
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)