Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] GetPlayerLink #473

Closed
luas10c opened this issue Mar 20, 2024 · 1 comment
Closed

[Feature Request] GetPlayerLink #473

luas10c opened this issue Mar 20, 2024 · 1 comment

Comments

@luas10c
Copy link

luas10c commented Mar 20, 2024

Need support for GetPlayerLink

// This function in c++ must return the player's link, in eluna there is no function for this.

std::string playerLink = ChatHandler(player->GetSession()).playerLink(player->GetName());

Something proposed would be like this for use

local playerLink = GetPlayerLink(player:GetName())
@Foereaper
Copy link
Member

function Player:GetLink()
    return "|Hplayer:"..self:GetName().."|h"
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants