Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Sets a global function on a user, call only once like on es:playerLoaded
- user.setGlobal('global', 'default') -- See example below
- user.setGlobal('job', 'citizen')
- -- Will create 2 new functions on the user
- user.setJob(value) -- Sets the global 'job' to value
- user.getJob() -- Gets the global 'job'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement