so..
one cs server .. two plugins for admins
i use admin_amxbans ---> amx admins from amxbans system.
sms-admins.amxx --> another plugin from
www.amxmodxbg.org
i am from bulgaria.
both plugins read info form mysql.
each plugin use different setinfo
admin_amxbans --> setinfo _pw
sms-admins ----> setinfo _smsadmins
the problem is that , sms-admins plugin is writen with one "error"
------------------------------------
1. player connect to the server..
first admin_amxbans is started and he begin his work
first he remove all user flags form client, after that check in his database if the client hass access tho the server and grant or reject him
kick, or allow.
so.. on every connected user , their flag are removed ..
2. sms-admins plugin read from his database and give flags to the player which authenitacate them self correctly..
but.
the problem comes when sms-admin try to connect. The reserve slot is not working for that admin.
cause his flags are already removed.
and i want to exec sms-admins right after the function where user flags are removed ..
Quote:
Quote:
accessUser(id, name[] = "")
{
remove_user_flags(id)
new userip[32], userauthid[32], password[32], passfield[32], username[32]
get_user_ip(id, userip, 31, 1)
get_user_authid(id, userauthid, 31)
|
Quote:
accessUser(id, name[] = "")
{
remove_user_flags(id)
---> here to call(run) another plugin
new userip[32], userauthid[32], password[32], passfield[32], username[32]
get_user_ip(id, userip, 31, 1)
get_user_authid(id, userauthid, 31)
|
|
am i little more clear now