Hello, I did not write this system, but ... It is no longer online, so I will leave it here, I think you know what to do!
Instruction:
Warn system are stored in a mysql table. I put all the files that I need in the archive, they need to be put in addons
You need to connect the database using these paths
xp_warns/lua/xp_warns/mysql.lua
xp_warn/lua/xp_warns/xp_config.lua