Need help with Variable of "player" type
Hello there
while agonizing me about leak-prevention, i'm at a point where i want to remove a player variable. The only method i've found was "RemovePlayer" but i think this is a function to kick someone... am i right?
So... does a "player" value leak? How to prevent this?
for example here's a copy of my trigger (it's in a loop)...
Hello there
while agonizing me about leak-prevention, i'm at a point where i want to remove a player variable. The only method i've found was "RemovePlayer" but i think this is a function to kick someone... am i right?
So... does a "player" value leak? How to prevent this?
for example here's a copy of my trigger (it's in a loop)...
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked player) controller) equals to Benutzer
- ((Picked player) slot status) equals to Spielt
-
Then - Actions
- Set tmp_Spieler = (Picked player)
- Set tmp_Spielernummer = (Player number of tmp_Spieler)
- Set tmp_Spielername = (Name of tmp_Spieler)
- Leaderboard - Add tmp_Spieler to (Last created leaderboard) with label tmp_Spielername and value Punkte[tmp_Spielernummer]
- Custom script: call RemovePlayer(udg_tmp_Spieler) // this doesn't work...
- Else -Actions
-
If - Conditions
Last edited: