openmultiplayer / openmultiplayer/open.mp
Add a new parameter to OnRconLoginAttempt callback
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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