💻Client Events

UpdateGTASkill

This is an event to add xp to a GTA Skill such as stamina, strength, driving etc.

-- skill: string | example: "stamina"
TriggerEvent('rebel-skills:client:UpdateGTASkill', skill, amount)

-- Example Use Client Side:
TriggerEvent('rebel-skills:client:UpdateGTASkill', 'stamina', 10)

-- Example Use Server Side:
TriggerClientEvent('rebel-skills:client:UpdateGTASkill', source, 'stamina', 10)

Last updated