View Single Post
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 08-08-2019 , 16:01   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #866

Quote:
Originally Posted by rafaelqae View Post
Obrigado Paulo pela sua atenção!
Se puder me adicionar na steam e me ajudar eu ficaria muito grato!
Steam.
---------------------------------------------------------------------------

Come on!
In weapons.cfg is:

Code:
// Default: "storage-local"
sm_weapons_db_connection "ws"
In database.cfg is:
Code:
"ws"
{
"driver" "mysql"
"host" "localhost"
"database" "ws_db"
"user" "root"
"pass" "pass-here-: D"
// "timeout" "0"
// "port" "0"
}
I have another question, does the plugin create db automatically or do I have to create it manually in mysql?
Sorry for my ignorance, I never used plugins, I'm making this server for some friends ..
So, to use MySQL in the plugin you need a Web Host, without it you can't use it, or the host you hired the game server can provide a MySQL Database.

Having MySQL Database, just configure database.cfg with database information, if you don't have to use SQLite anyway.
paulo_crash is offline