PDA

View Full Version : [REQ] Simple SQL Admin


golden_eagle
12-24-2011, 11:35
Hi,

I'm looking for a plugin that give a flag (O or anything we could edit in the source) to players with their SteamID in a database. I found some plugins but they are all too complicated or with too much options.

Could someone make this plugin with some specifications :
- Take SteamID from a SQL DB and give them a flag (O for exemple)
- Include the SQL config in the source (not in databases.cfg)

That's all :) No more needed.

Thanks

Dr. McKay
12-25-2011, 10:28
Don't know if you've seen it already, but SourceMod has a built-in SQL admins plugin. Check out the wiki for more info.

golden_eagle
12-25-2011, 12:53
I know it but as I said, I find it too complicated.
No way to build a plugin with all included ? It would be more simple to use and useful for me.

golden_eagle
12-28-2011, 06:05
At least, could someone give me the code to set a flag to someone or just help me to find it ?

poppin-fresh
12-28-2011, 13:13
It's Not too complicated. You're just too lazy to read it. No one will make you a plugin that already exists..

golden_eagle
12-28-2011, 15:21
I mean too complicated because it has too many options than I need and I don't know how to give a flag to a user.

Drixevel
12-28-2011, 16:43
It's actually very simple. You have to read in order to use it though but when you get the hang of it is when it's a breeze.

poppin-fresh
12-28-2011, 17:00
Or you could give sourcebans a go.

golden_eagle
12-29-2011, 06:56
I'm sorry r3dw3r3w0lf (http://forums.alliedmods.net/member.php?u=59694), I don't really understand :)
Could you give me an example of this kind of code ?

Unreal1
12-29-2011, 11:18
Just use sourcebans its the best as long as you have a website.

golden_eagle
12-29-2011, 18:55
Sorry, you don't really understand my request :)
Not a problem :wink:
I'm looking for a very simple plugin that just check a sql table and if the steamID is in this table, it give the flag O to the player.
I know lot of plugins exists etc, but they have too many options for me.
No way to do this in a few lines of code ?