Raised This Month: $30 Target: $400
 7% 

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: fysiks
Forum: General 10-18-2022, 00:11
Replies: 9
Views: 936
Posted By fysiks
Re: possible bug in admin flags when player times out?

Yes, both g_bInServer and g_bAuthorized should be arrays sized with 33 and indexed by id. Probably also need to make sure they get reset to false on client_disconnect() or something like that.
Forum: General 09-22-2022, 23:53
Replies: 9
Views: 936
Posted By fysiks
Re: possible bug in admin flags when player times out?

You can easily wait for both to be true like this:


new Bool:g_bInServer, Bool:g_bAuthorized

public client_putinserver(id)
{
g_bInServer = true;
if( g_bInServer && g_bAuthorized )
{
Forum: General 09-22-2022, 01:18
Replies: 9
Views: 936
Posted By fysiks
Re: possible bug in admin flags when player times out?

Yes, for anything related to admin access, you should do after client_authorized() and all plugins should be below admin.amxx in plugins.ini.
Forum: General 09-21-2022, 01:43
Replies: 9
Views: 936
Posted By fysiks
Re: possible bug in admin flags when player times out?

Flags are stored on the server, not the client. Are you getting the same slot when you re-join the server?

Also, flags for each user are cleared...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 15:44.


Powered by vBulletin®
Copyright ©2000 - 2023, vBulletin Solutions, Inc.
Theme made by Freecode