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

Can you do this? #34

Closed
Pdzly opened this issue Sep 2, 2021 · 1 comment
Closed

Can you do this? #34

Pdzly opened this issue Sep 2, 2021 · 1 comment

Comments

@Pdzly
Copy link

Pdzly commented Sep 2, 2021

if (imgui.Entity3D2D(LocalPlayer(), Vector(0,0,0), Angle(0,0,0), 1)) then
    if (imgui.xButton(250, 0, 0, 1000, 1000, Color(255, 255, 255), Color(255, 0, 0), Color(0, 0, 255))) then
        chat.AddText("PRESSED IT")
    end

    draw.RoundedBox(10, 0, 0, 500, 500, Color(255,0,0))
    imgui.End3D2D()
end
@Pdzly
Copy link
Author

Pdzly commented Sep 2, 2021

would it stick to the user?
or wouldnt it work? because a player is just an entity too but i dont get it to draw

@Pdzly Pdzly closed this as completed Sep 2, 2021
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

1 participant