Quote:
Originally Posted by Liverwiz
check is_user_connected(id)
|
You don't need to check for connected if you are only checking for alive.
Quote:
Originally Posted by Waleed
I am checking:
Is it okay or do I have to check for user connection too O_O ?
|
I believe you do have to check connection for using that function. You can test it out. Just try it on an empty slot. If you get a runtime error then you need to check if they are connected first. If it simply returns false without errors then you don't need the extra check. It all really comes down to how get_user_flags() works.
__________________