SA-MP Forums Archive
Luxadmin problem [REP] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Luxadmin problem [REP] (/showthread.php?tid=632603)



Luxadmin problem [REP] - Hillo - 16.04.2017

Hello.

I'm getting these errors when i start my server:

Failed to load 'filterscripts/LuxAdmin.amx.amx' filterscript.
Unable to load filterscript 'LuxAdmin.amx'.


sscanf plugin is reuploaded and luxadmin is recompiled, still i'm getting this.

(Please do not say "don't use luxadmin" or something like that, thanks).

Thanks in advance.


Re: Luxadmin problem [REP] - Melktert - 16.04.2017

LuxAdmin.amx.amx

hmm...


Re: Luxadmin problem [REP] - Hillo - 16.04.2017

Quote:
Originally Posted by Melktert
Посмотреть сообщение
LuxAdmin.amx.amx

hmm...
The file name is Luxadmin.amx still even it shows Luxadmin.amx.amx


Re: Luxadmin problem [REP] - Melktert - 16.04.2017

rename it and take out the .amx, the extension is already there, you dont have to add it.


Re: Luxadmin problem [REP] - Hillo - 16.04.2017

Quote:
Originally Posted by Melktert
Посмотреть сообщение
rename it and take out the .amx, the extension is already there, you dont have to add it.
I did, and now i get this:

Loading filterscript 'LuxAdmin.amx'...
Unable to load filterscript 'LuxAdmin.amx'.



Re: Luxadmin problem [REP] - Melktert - 16.04.2017

Are you sure it compiled properly? Did it have any warnings?

EDIT: make sure you're not running more than 16 filterscripts


Re: Luxadmin problem [REP] - Hillo - 16.04.2017

Quote:
Originally Posted by Melktert
Посмотреть сообщение
Are you sure it compiled properly? Did it have any warnings?

EDIT: make sure you're not running more than 16 filterscripts
Well, this happened automatically (it was working normally before and i didn't touch anything and the server closed and then it was unable to load), and yes it has 3 warnings, but i don't think that they affect. And i'm not running more than 16 filterscripts.


Re: Luxadmin problem [REP] - Melktert - 16.04.2017

What are those 3 warnings? This could usually be caused by a bad code.


Re: Luxadmin problem [REP] - 1fret - 16.04.2017

First of all show the warnings, and secondly is the .amx file even in your filterscripts folder?


Re: Luxadmin problem [REP] - Hillo - 16.04.2017

LuxAdmin.pwn(7905) : warning 209: function "dcmd_useskin" should return a value
LuxAdmin.pwn(7933) : warning 209: function "dcmd_saveskin" should return a value
LuxAdmin.pwn(7943) : warning 209: function "dcmd_dontuseskin" should return a value

Quote:
Originally Posted by 1fret
Посмотреть сообщение
is the .amx file even in your filterscripts folder?
Yes, it is.