Jump to content

setClientLevel


Guest misco

Recommended Posts

Im trying to set and get player levels but im still getting error with this function.

Attempt to call global 'setClientLevel'

Sample from wiki seems not work.

setClientLevel ( targetPlayer, 3 ) - warning

setClientLevel ( thePlayer, tonumber( level ) ) - warning too

Link to post

This is an outdated function from a level system which was replaced with the current Access Control List system. Like all other deprecated functions, it was removed (hence setClientLevel is nil), just seems it wasn't removed from the documentation, which I will do now.

So, for player levels, you should be looking at ACL functions instead.

Link to post
This is an outdated function from a level system which was replaced with the current Access Control List system. Like all other deprecated functions, it was removed (hence setClientLevel is nil), just seems it wasn't removed from the documentation, which I will do now.

So, for player levels, you should be looking at ACL functions instead.

Yes i found it but thanks.

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...