Forum > Suggestions >
Ability to get LocalPlayer's name
Posted
Would be utterly useful to have a property that gets updated when the exploit injects, api.LocalPlayer, which is the respective LocalPlayer's name.
Side note, would love to see a GetChildren(lua C), where it returns a List<string> of the names of the children in the respective instance suggested by the lua C script. (in this script you specify the instance like you would normally)
EXAMPLE: List<string> names = GetChildren(luaC)
luaC would be equal to
"getglobal game
getfield -1 Players
getfield -1 LocalPlayer
getfield -1 leaderstats
emptystack" (for example; you can change it to anything)
Replied
Thats what you got the console for. But Local player probaly means that its ONLY possible on your player like Ctrl + Click tp or Btools.
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post