simple mysql reports CSGO
2 Attachment(s)
As the title says, this plugin allows players made reports on players that behave bad, this is my first plugin ever, so mods please check the SP file..
How it works Simple in game chat you type !report the menu with players will pop up, you choose the player and he's steam_id will be stored to your database in column reported, in column reporter you can find steam_id of the player who made report Creating table to store data CREATE TABLE `sm_report` ( `id` int(64) NOT NULL AUTO_INCREMENT, `reported` varchar(32) DEFAULT '', `reporter` varchar(32) DEFAULT '', `reason` text, `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=29 DEFAULT CHARSET=utf8; In yourSourcemod/configs/databases.cfg Don't forget to add your credentials "default" { "driver" "default" "host" "localhost" "database" "your_database" "user" "your_login" "pass" "your_password" //"timeout" "0" "port" "3306" } |
Re: simple mysql reports CSGO
feel free to redo this plugin , inside mysql_reports.sp you can find that i tried also add The reason menu (so in first menu you can pick the Player - when opens second menu with the reason) - i started but didn't make that due to lack of knowledge the sourcepawn
|
Re: simple mysql reports CSGO
Only the players menu is open, the reason menu does not work.
Can u help me? |
Re: simple mysql reports CSGO
Hello! I installed your plugin on my server and it works, but I have a problem, when someone is using it, the menu for the "reasons" does not show up, instead the report is sent automatically. Do you know why this happens? or any solution?
Thank you. |
Re: simple mysql reports CSGO
Quote:
|
Re: simple mysql reports CSGO
Quote:
|
All times are GMT -4. The time now is 05:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.