AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   SQL Support (https://forums.alliedmods.net/showthread.php?t=192523)

Waleed 08-11-2012 04:27

SQL Support
 
Hey there, I need a little help with SQL.

Basically this is my SQL.cfg file:

amx_sql_host "127.0.0.1"
amx_sql_user "root"
amx_sql_pass ""
amx_sql_db "amx"
amx_sql_table "admins"
amx_sql_type "mysql"

I want to know that anybody using this must create a database first and a table in it or It will automatically be created?
I want to save frags,Deaths,Kills and other stuff in it.

I know how to work with SQL database and Entering data in it, I meant PHP.
Thnx:)

pizzaman_ 08-11-2012 11:11

Re: SQL Support
 
you must create a database first in order to make this work, there are plugins that save frags and stuff

SPT1 08-12-2012 07:40

Re: SQL Support
 
use xampp

CS-A-Roland 08-12-2012 08:22

Re: SQL Support
 
Get a plugin wich uses an sql based gameplay and look to it, most of them got an "own" sql config file because this normal sql is often used for things like amxbans!

Also there is a Tutorial out there: HERE

I think its a good explanation and beginning for you!


All times are GMT -4. The time now is 05:49.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.