[Trigger] how do you destroy a playergroup set via trigger?

Status
Not open for further replies.
Level 28
Joined
Jan 26, 2007
Messages
4,789
to prevent leaking?

whats the custom script?

thanks! (search function on this forum is so obsolete didnt bring up shit)
Posting... and you

I'll quote the text for you:
You don't want all the kids laughing at you, because you had a question that was answered in a sticky, now do you?
- no you don't!

With other words: check the stickies, it might help :)
 
Level 16
Joined
Jul 21, 2008
Messages
1,121
You can make it like this:

  • Custom script: call DestroyForce(WitchPlayerGroup)
Below is custom script example:
  • Custom script: call DestroyForce(udg_TempPlayerGroup)
Now, we know that global player groups are removing like this:
  • Custom script: call DestroyForce(udg_<VariableName>)
Note that ''All Players'' won't create memory leak.
 
Status
Not open for further replies.
Top