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

How to point from the obtained "userid" to "CCSPlayerPawn"? #509

Open
YCcHxxt opened this issue Jun 21, 2024 · 1 comment
Open

How to point from the obtained "userid" to "CCSPlayerPawn"? #509

YCcHxxt opened this issue Jun 21, 2024 · 1 comment
Labels
untriaged New issue has not been triaged

Comments

@YCcHxxt
Copy link

YCcHxxt commented Jun 21, 2024

How to point from the obtained "userid" to "CCSPlayerPawn"?
I have obtained "userid", but I want to teleport the player with userid=2 to a certain location
Maybe the problem is relatively simple. I'm sorry to disturb everyone

@github-actions github-actions bot added the untriaged New issue has not been triaged label Jun 21, 2024
@TitaniumLithium
Copy link

Almost Everything you can find in Doc : https://docs.cssharp.dev/docs/reference/referencing-players.html
var player = Utilities.GetPlayerFromUserid(userid);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged New issue has not been triaged
Projects
None yet
Development

No branches or pull requests

2 participants