Quote:
Originally Posted by Natsheh
Iknow thats why you can call it on each player connects
Rather than setting a task to be executed each second,
|
We're not here to discuss about the example I gave, I know there's better ways,
it was just an example.
What I'm pointing at is, if someone connects to a server and he isn't an admin, isAdmin bool gets ticked false for him, and later on, he receives admin, isAdmin still remains false for him, that's why he should use is_user_admin instead of caching the value.
__________________