You can easily wait for both to be true like this:
PHP Code:
new Bool:g_bInServer, Bool:g_bAuthorized
public client_putinserver(id)
{
g_bInServer = true;
if( g_bInServer && g_bAuthorized )
{
eventAuthorizedAndPutInServer(id)
}
}
public client_authorized(id)
{
g_bAuthorized = true;
if( g_bInServer && g_bAuthorized )
{
eventAuthorizedAndPutInServer(id)
}
}
eventAuthorizedAndPutInServer(id)
{
// Your code here
}
Regarding the order of plugin configuration files, plugins.ini will always load first.
__________________