OnCharacterDelete

From Nutscript Developer Wiki
(Redirected from OnCharDelete)
    GM:OnCharacterDelete(client, id)

WARNING: THIS HOOK IS DIFFERENT IN 1.1 AND 1.1-beta. FOR 1.1 USE GM:OnCharDelete(client, id, CurrentChar)

Description[edit]

This function is called right after a player deletes the character. You can't reference the deleted character's data in this hook. Because it's already deleted from the database and the memory of the server.

Arguments[edit]

  • Player client
  • Integer id

Return Values[edit]

none

Examples[edit]

none