FANDOM


Function

PlayerRace_DoesHaveTag(<index>, <tags_here>)

Description

This function return 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...