openmultiplayer / openmultiplayer/open.mp

Add a new parameter to OnRconLoginAttempt callback

Open
#892 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
641
Forks
208
PR merge metrics
No merged PRs in 30d

Description

Add the playerid parameter after the success parameter to OnRconLoginAttempt callback.

public OnRconLoginAttempt(ip[], password[], success, playerid)
{
    if (!success)
    {
        Kick(playerid);
    }
}

I know we can get the player id by loop through players' ip

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named in the issue. Start by locating the OnRconLoginAttempt callback implementation and any related compatibility checks; done means the callback receives playerid after success without breaking existing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api, game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.