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...
Using sourcebans on a HL1 server..
- Archive-Poster
- Posts: 1267
- Gender:

Using sourcebans on a HL1 server..
- Attachments
-
- amx_versus_sourcebans_pub.sma.zip
- (4.09 KiB) Downloaded 19 times
- Archive-Poster
- Posts: 1267
- Gender:

Re: Using sourcebans on a HL1 server..
Code: Select all
if(equal("STEAM_ID_PEDING", iSteam) )
{
set_task(4.0, "VertifyBan", id)
return PLUGIN_CONTINUE
}Who is online
Users browsing this forum: No registered users and 1 guest