-
Notifications
You must be signed in to change notification settings - Fork 15
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
no way to get entity handle #40
Comments
just wondering how I can get the player ID from a mp_m_freemode_01 ped I am looking at assuming it is a real player |
yes, its possible, return the ent through targetData |
print(json.encode(targetData, {indent=true})) and look what it prints, I believe ent is inside it |
local function onSelect(targetData, itemData)
print(json.encode(targetData, {indent=true}))
end |
Yeah I didn't see anything in But I did get it with:
seems like the handle is passed as the last arg for me |
ah okay so itd be passed in a different arg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is there no way to get the entity handle that you are targeting?
for the model one in particular
The text was updated successfully, but these errors were encountered: