The Oracle Posted May 6, 2009 Author Share Posted May 6, 2009 How would you check if a player is online based on the caption of a label? This is what i thought of, but i get RTE 13, type mismatch```If IsPlaying(Trim$(lblFriend1.Caption)) Then``` Link to comment Share on other sites More sharing options...
Bobosk Posted May 6, 2009 Share Posted May 6, 2009 ```If IsPlaying(FindPlayer(Trim$(lblFriend1.Caption))) Then```That should do it, you were trying to use a name for IsPlaying, while it actually needs an index number, that's what the FindPlayer is for Link to comment Share on other sites More sharing options...
westin444 Posted May 6, 2009 Share Posted May 6, 2009 Like thisisplaying(findplayer(*playernamehere*)) 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