ID:174473
 
is there a way to modify a players variables when Logout() is called? like say if they are in a party and they logout they are no longer in the party.
mob
Logout()
redteamlist -= src
src.playing = 0
..()
Thats a pretty basic Logout that would remove someone from a list and change a variable, look then recreate :)
In response to Maz
that didnt work. for some reason if a person is in my party when i logout even though my code says:
mob
Logout()
Leave()
..()

it does actually call leave but some strange connection remains between me and the other party members because they go to the log in screen when i log in and there bodies are left in the spot they were before i logged in. its mind boggling.