AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [SOLVED] Sql general help (https://forums.alliedmods.net/showthread.php?t=185100)

OvidiuS 05-12-2012 16:56

[SOLVED] Sql general help
 
I have little experience with sql plugins, so my questions are:
What include is the best for saving and reading various data about player very often?
Is it possible to have sql saving/loading data without web database ( because i don't need web stats )

I already seen tutorials, no need for posting links, i understand the code, but i don't know "sql based" things.

bazhenov93 05-12-2012 17:00

Re: Sql general help
 
Quote:

Originally Posted by OvidiuS (Post 1707673)
Is it possible to have sql saving/loading data without web database ( because i don't need web stats )

Use SQLVault by Exolent.

Exolent[jNr] 05-12-2012 17:02

Re: Sql general help
 
Write your SQL code just like normal.

For connection information, use this:
amx_sql_host "127.0.0.1"
amx_sql_user "root"
amx_sql_pass ""
amx_sql_db "amx"
amx_sql_type "sqlite"

Then make sure the sqlite module is enabled.

OvidiuS 05-12-2012 17:05

Re: Sql general help
 
Quote:

Originally Posted by Exolent[jNr] (Post 1707682)
Write your SQL code just like normal.

For connection information, use this:
amx_sql_host "127.0.0.1"
amx_sql_user "root"
amx_sql_pass ""
amx_sql_db "amx"
amx_sql_type "sqlite"

Then make sure the sqlite module is enabled.

Thank you, that's what i wanted to know, and bazhenov93 also thanks ;)


All times are GMT -4. The time now is 00:28.

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