Filterscript not working
#1

The filterscript that I added won't work in my gamemode, when I type a command from the filterscript, my server says that it is an unknown command, however the filterscript is loaded in the server console. This is the server log.
PHP код:
----------
Loaded log file"server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[00:39:34
[
00:39:34Server Plugins
[00:39:34] --------------
[
00:39:34]  Loading pluginsscanf
[00:39:34
[
00:39:34]  ===============================
[
00:39:34]       sscanf plugin loaded.     
[
00:39:34]          Version:  2.8.1        
[00:39:34]    (c2012 Alex "******" Cole  
[00:39:34]  ===============================
[
00:39:34]   Loaded.
[
00:39:34]  Loading pluginwhirlpool
[00:39:34]  
[
00:39:34]  ==================
[
00:39:34]  
[
00:39:34]   Whirlpool loaded
[00:39:34]  
[
00:39:34]  ==================
[
00:39:34]  
[
00:39:34]   Loaded.
[
00:39:34]  Loaded 2 plugins.
[
00:39:34
[
00:39:34Filterscripts
[00:39:34] ---------------
[
00:39:34]   Loading filterscript 'jadmin3.amx'...
[
00:39:34]   Loaded 1 filterscripts.
[
00:39:34
----------------------------------
[
00:39:34]  Gamemode Loaded 
[00:39:34] ----------------------------------
[
00:39:34Number of vehicle models
This is the whole code of the FS http://pastebin.com/SqBMRehi
Reply
#2

We can't help you without your FS code.
Reply
#3

Quote:
Originally Posted by Dragony92
Посмотреть сообщение
We can't help you without your FS code.
Updated it.
Reply
#4

Probably files issue or admin system issue like you must have admin level which filter script is using example

PHP код:
if(pInfo[playerid][Level] < 1) return 0
Reply
#5

Quote:
Originally Posted by IceBilizard
Посмотреть сообщение
Probably files issue or admin system issue like you must have admin level which filter script is using example

PHP код:
if(pInfo[playerid][Level] < 1) return 0
The thing that I am suspicious with is that it uses a sqlite saving system but it doesnt have a users.db in the scriptfiles.
Reply
#6

MySQL saves the database in external server, while SQLite saves data in a '.db' extension file.
Reply
#7

Quote:
Originally Posted by ALiScripter
Посмотреть сообщение
MySQL saves the database in external server, while SQLite saves data in a '.db' extension file.
Yes, My bad. What I meant is SQLite.
Reply
#8

Quote:
Originally Posted by IceBilizard
Посмотреть сообщение
Probably files issue or admin system issue like you must have admin level which filter script is using example

PHP код:
if(pInfo[playerid][Level] < 1) return 0
The server says "Unknown command" even If I typed the command correctly.
Reply
#9

Use Crashdetect plugin, and compile your gamemode with -d3 params for detailed debug information. It will show you warnings/errors which are blocking command from being executed.
https://sampforum.blast.hk/showthread.php?tid=262796
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)