CanPlayerUseChar

From Nutscript Developer Wiki
Jump to navigation Jump to search
   GM:CanPlayerUseChar(client, char)

Description[edit]

This function determinds whether player can use specific character or not. If this function returns false, player will not able to load the specified character. This hook can be used for character ban, perma kill, or other penalty like character in hospital.

Arguments[edit]

  • Player client
  • Character character

Return Values[edit]

return boolean Can player use the character?

Examples[edit]

none.