Function; PlayerRace_DoesHaveTag - HWRM/KarosGraveyard GitHub Wiki

PlayerRace_DoesHaveTag(<index>, <tags_here>)

Description

  • This function returns true if the index have "tags_here" in the xxx.lua on the folder races.

Example

PlayerRace_DoesHaveTag(playerID, "race_goa")

Arguments

  • <index>: It's the PlayerID
  • <tags_here>: The tags present in your race file lua in the races folder. The tags defined with Tags value on this .lua . You can use only one tags check in one time ... [Ex : this function return false at any time > PlayerRace_DoesHaveTag(playerID, "race_goa,race_something,...") < ].So use this for restricting option, for example...

Scope

Related Pages

Comments

Page Status

Updated Formatting? Yes
Updated for HWRM? Yes

⚠️ **GitHub.com Fallback** ⚠️