SetPlayerName on gmx
#1

I have made an undercover system and it involves setting the player name. The thing is, if the server bounces while their name is set to not their account name, they continue to have that weird name after the bounce, so then it asks them to register that account.

I was wondering if anyone has found a way to SetPlayerName when the server bounces.
Reply
#2

okay, I just did this and it works.
pawn Код:
public OnRconCommand(cmd[])
{
    if (!strcmp(cmd, "gmx", true))
    {
        foreach(Player, playerid)
        {
            SetPlayerName(playerid, pOldName[playerid]);
        }
    }
    return 1;
}
Reply
#3

What do you mean "bounces"?
Reply
#4

when you gmx your server it is called "bouncing it" that is what it has been called that forever.
Reply
#5

Oh, I just call it gmxing
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)