ok i have a list that has peoples icon, description, age, gender and stuff but i cant remove it...this is my code
mob
Login()
..()
Players.Add(src,"Players Description: [desc]","Players Gender: [Gender]","Players Age: [Age]")
Logout()
Players.Remove(src,"Players Description: [desc]","Players Gender: [Gender]","Players Age: [Age]")
its in a stat for everyone and it wont delete... If you can plz help thx
ID:261580
![]() Jul 25 2002, 10:34 pm
|
|
Yeah thx but it was kinda to late >_< figured it out about a hour ago ne way i need a little bit of help on displaying how many ppl are online >_<
|
mob/Stat() |
Shy_guy197 wrote:
Yeah thx but it was kinda to late >_< figured it out about a hour ago ne way i need a little bit of help on displaying how many ppl are online >_< If you're still using a global Players list, just try this: mob/Stat() Lummox JR |
Uhh... why you're doing a stat list that way I have no idea. Add() is adding multiple items to the list for you, while I don't know if Remove() would even work that way.
What you should be doing instead is making a list with just the players listed (i.e., just add src), and in mob/Stat() do all the rest:
That will produce a player list looking something like this:
Lummox JR