EVENT RESETPLAYER

From EDukeWiki
Jump to navigation Jump to search
Event ID player# THISACTOR RETURN
EVENT_RESETPLAYER player being reset player->i 0 values

EVENT_RESETPLAYER is a Game Event.

This event is called when the command resetplayer is used, when a player respawns in multiplayer, when a new map starts or if the player restarts the map.

The event is executed after all player variables and struct members have been reset to their defaults.

See also: EVENT_INVENTORY, EVENT_RESETINVENTORY