Using sourcebans on a HL1 server..

For scripting examples for learning how to use AMXX.
User avatar
Archive-Poster
Posts: 1267
Gender:
United States of America

Using sourcebans on a HL1 server..

Post by Archive-Poster »

The attached code will show you the basics of how to look up players and insert bans from you HL1 server to a source bans website/database.

Notes:

If you want to see the admin name on the website you need to make a "dummy group" with admin names and ID's. And add you server to the site.
This will not look up admin rights in the database!

ATM this is a code snippet, not a fully functional plugin!

Bad coded? Maybe but it might give some ideas...
Attachments
amx_versus_sourcebans_pub.sma.zip
(4.09 KiB) Downloaded 19 times
User avatar
Archive-Poster
Posts: 1267
Gender:
United States of America

Re: Using sourcebans on a HL1 server..

Post by Archive-Poster »

Code: Select all

        if(equal("STEAM_ID_PEDING", iSteam) )
        {
            set_task(4.0, "VertifyBan", id)
            return PLUGIN_CONTINUE
        }
Pretty sure it's supposed to be STEAM_ID_PENDING?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest