Custom Script Help

EoW.chips

New Member
Reaction score
2
Hey,
there is an error when i save the map about this Custom Script:


Custom script: call destroyplayer(udg_Base_PlayerB[1])

Any Ideas ?
udg_Base_PlayerB[1] is an player variable with an array
 

hopy

Active Member
Reaction score
64
Custom script: call destroyplayer(udg_Base_PlayerB[1])

I've never had to remove a player variable before... D:
Posibilities:
- Are you sure it's posible to clear a player variable?
- Are you sure 'destroyplayer' is the correct order?
- Are you sure 'Base_PlayerB' is the correct name, make sure all the capital letters are correct.
- You do know player variables do not leak, and you don't really have to remove them.
 

tommerbob

Minecraft. :D
Reaction score
110
hopy is right, you don't need to remove players, as they do not leak. Player groups do leak. Those are the ones you want to remove. (However, do not remove the (All Players) player group. You may end up with some funky bugs. :p) The custom script to remove player groups is this:

Code:
custom script: call DestroyForce(udg_Force)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top