lexkymbeth Posted December 30, 2011 Author Share Posted December 30, 2011 Well im tring to add something to the sever were it popups and gives name level etc… but when i try to get the name:```GetPlayerName(txtName.Text)```its not working? any help i looked thur the modHandle… cant find itSame for lvl```GetPlayerLevel(txtName.Text)``` Link to comment Share on other sites More sharing options...
Scott Posted December 30, 2011 Share Posted December 30, 2011 You call that with the player index not a text name.exGetPlayerName(1) would get the #1 slot's name, you would need to do something else if you where trying to get offline users name/level. Link to comment Share on other sites More sharing options...
lexkymbeth Posted December 30, 2011 Author Share Posted December 30, 2011 oh thanks! thats why Link to comment Share on other sites More sharing options...
emblem Posted December 30, 2011 Share Posted December 30, 2011 Just as a future reference, you can translate a name into an index by doing:```index = FindPlayer("name")``` Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now