roaddog Posted May 8, 2014 Share Posted May 8, 2014 (edited) Well, after some mins I figured out, and found a problem with this script ok, let me explain the problem ex. when player1 does afk and he himself does/afklist in the chat will be seen his name in the list. but when others do afk and player1 do /afklist and in the chat, the list that should be the name of the other person turned out to be empty. so that means, player can only see his name on list. I will bring the script here ---------fixed------------ I hope you understand what im trying to do, Thanks Edited May 9, 2014 by Guest Link to comment
aintaro Posted May 8, 2014 Share Posted May 8, 2014 I think because your parameter name is : afkList (thePlayer) -- thePlayer is also used in the loop, so try to change that. Link to comment
roaddog Posted May 8, 2014 Author Share Posted May 8, 2014 I think because your parameter name is : afkList (thePlayer) -- thePlayer is also used in the loop, so try to change that. No, I have done that but still has problem, Noone is in the list except player who's afk any solution? Link to comment
pa3ck Posted May 8, 2014 Share Posted May 8, 2014 You could put the whole thing client side if you edit it a wee bit. Link to comment
roaddog Posted May 8, 2014 Author Share Posted May 8, 2014 (edited) here the afk function ----------fixed---------- Edited May 9, 2014 by Guest Link to comment
roaddog Posted May 8, 2014 Author Share Posted May 8, 2014 Actually there is no errors on debugscript Link to comment
Castillo Posted May 9, 2014 Share Posted May 9, 2014 I don't understand the problem, could you explain it again? Link to comment
roaddog Posted May 9, 2014 Author Share Posted May 9, 2014 okay lemme explain what's wrong, well i was alone at that time and I did /afk then I did /afklist and it worked fine, but I tried with two players afk and we type /afklist , it was only shown my name, and the others not shown Link to comment
Castillo Posted May 9, 2014 Share Posted May 9, 2014 Post the code for the "/afklist" command. Link to comment
roaddog Posted May 9, 2014 Author Share Posted May 9, 2014 (edited) ---Hello -- Edited May 9, 2014 by Guest Link to comment
Castillo Posted May 9, 2014 Share Posted May 9, 2014 I just tested it and it works fine, I'm testing with two players, if both go AFK, in /afklist it shows both names. Link to comment
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