Re: [INC] SQLVault
Here's an example top for SQLVault: Extended.
It is necessary to use extended because you need to save the players' names and whatever you are sorting them by (here will be frags). Basic plugin structure to use vault:
Spoiler
Now, let's add the top to it:
Spoiler
All together:
Spoiler
|
Re: [INC] SQLVault
Player names dont show , It only shows when a player changes his name.
PHP Code:
Quote:
|
Re: [INC] SQLVault
Quote:
|
Re: [INC] SQLVault
I tried the top15 above , if i get 11 kills and another player has 2 kills , my rank comes below his.
If i have 15 kills and another player has 2 kills , his rank still comes above mine , its like only 1 is getting counted out of 1 5 |
Re: [INC] SQLVault
Quote:
https://forums.alliedmods.net/showth...47#post1742147 My solution is in the post after. |
Re: [INC] SQLVault
My bad , read that and forgot about it :3
|
Re: [INC] SQLVault
For some reason, when using non-local databases, this creates a local database instead using SQLite. I give it all the information for an external database, but it seems to ignore that and make a local one instead.
The part where it's initialized: PHP Code:
|
Re: [INC] SQLVault
I have tried some examples from this topic..
How can I transfer nvault to sql. Example: PHP Code:
|
Re: [INC] SQLVault
I cant compile any plugin that use sqlvault!
Welcome to the AMX Mod X 1.76-300 Compiler. Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team D:\kompiler\include\sqlvault.inc(81) : error 017: undefined symbol "TrieCreate" D:\kompiler\include\sqlvault.inc(81) : warning 213: tag mismatch D:\kompiler\include\sqlvault.inc(83) : error 017: undefined symbol "TrieSetCell" D:\kompiler\include\sqlvault.inc(84) : error 017: undefined symbol "TrieSetString" D:\kompiler\include\sqlvault.inc(92) : error 017: undefined symbol "TrieDestroy" D:\kompiler\include\sqlvault.inc(207) : error 017: undefined symbol "TrieGetCell" D:\kompiler\include\sqlvault.inc(211) : error 017: undefined symbol "TrieGetCell" D:\kompiler\include\sqlvault.inc(216) : error 017: undefined symbol "TrieDestroy" D:\kompiler\include\sqlvault.inc(331) : error 017: undefined symbol "TrieGetCell" D:\kompiler\include\sqlvault.inc(340) : error 017: undefined symbol "TrieGetCell" D:\kompiler\include\sqlvault.inc(355) : error 017: undefined symbol "TrieGetString" D:\kompiler\include\sqlvault.inc(355) : error 088: number of arguments does not match definition D:\kompiler\include\sqlvault_ex.inc(47) : error 017: undefined symbol "TrieGetCell" D:\kompiler\include\sqlvault_ex.inc(56) : error 017: undefined symbol "TrieGetCell" D:\kompiler\include\sqlvault_ex.inc(71) : error 017: undefined symbol "TrieGetString" D:\kompiler\include\sqlvault_ex.inc(71) : error 088: number of arguments does not match definition D:\kompiler\include\sqlvault_ex.inc(128) : error 017: undefined symbol "TrieGetCell" D:\kompiler\include\sqlvault_ex.inc(137) : error 017: undefined symbol "TrieGetCell" D:\kompiler\include\sqlvault_ex.inc(152) : error 017: undefined symbol "TrieGetString" D:\kompiler\include\sqlvault_ex.inc(152) : error 088: number of arguments does not match definition D:\kompiler\include\sqlvault_ex.inc(279) : error 017: undefined symbol "TrieGetCell" D:\kompiler\include\sqlvault_ex.inc(288) : error 017: undefined symbol "TrieGetCell" D:\kompiler\include\sqlvault_ex.inc(303) : error 017: undefined symbol "TrieGetString" D:\kompiler\include\sqlvault_ex.inc(303) : error 088: number of arguments does not match definition 23 Errors. Please help! |
All times are GMT -4. The time now is 19:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.