# Server Exports

### getSkill

Checking how much a player currently has skill

```lua
-- @param {skill_name: string}: Registered skill name for example 'condition'
local skill = exports["vms_gym"]:getSkill(source, skill_name)
```

***

### addSkill

Add a skill value to a player by specifying the skill name and value

```lua
-- @param {skill_name: string}: Registered skill name for example 'condition'
-- @param {value: number}: Value to add for example 10.0
exports["vms_gym"]:addSkill(source, skill_name, value)
```

***

### removeSkill

Remove the skill value to a player by specifying the skill name and value

```lua
-- @param {skill_name: string}: Registered skill name for example 'condition'
-- @param {value: number}: Value to remove for example 10.0
exports["vms_gym"]:removeSkill(source, skill_name, value)
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vames-store.com/assets/vms_gym/developer-api/server-exports.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
