CheckSkill
- Purpose: Checks if a skill meets or exceeds a certain value.
- Arguments:
skill
-string
- The name of the skill to check.
val
-int
- The value to check against. - Returns:
boolean
- Whether the skill meets or exceeds the given value. - Usage:
Info
This function is asynchronous, so it requires a callback function to be passed in. The callback function will be called with a boolean value indicating whether the skill meets or exceeds the given value. This function is useful for checking if a player has a certain skill level before allowing them to perform an action.