SA-MP Forums Archive
python plugin install error - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: python plugin install error (/showthread.php?tid=220667)



python plugin install error - \\ BlenderBoy // - 04.02.2011

hello i have some problems with installing the python plugin for makeing script with python for sa-mp server.
1: i installed the plugin and i added to the plugins directory of sa-mp
2: from the python plugin directory i copy -> pasted the python.amx file into the gamemodes directory
3: i opened the server.cfg and there i added this line "plugins pythonplugin.so" without the quotes and i changed gamemode0 grandlarc 1, to gamemode0 python 1, and after that i saved my server.cfg.
4: when i was opening the server in the console i get this error:

i need some help here thanks


Re: python plugin install error - PeteShag - 04.02.2011

Are you loading a gamemode written in Python?


Re: python plugin install error - Unknown123 - 04.02.2011

Nopes, Never mind, i thinked about the "Runtime Error 20" xD


Re: python plugin install error - \\ BlenderBoy // - 04.02.2011

yes i am trying to install python plugin to can load a python gamemode script but i am getting that error i don't know why, i need some help


Re: python plugin install error - Fj0rtizFredde - 04.02.2011

Quote:
Originally Posted by \\ BlenderBoy //
Посмотреть сообщение
3: i opened the server.cfg and there i added this line "plugins pythonplugin.so"
If you use Windows then its the .dll file you should use (remove the .so from "plugins pythonplugin.so")


Re: python plugin install error - Lorenc_ - 04.02.2011

You dont have the plugin, put it in the serverroot/plugins folder.


Re: python plugin install error - \\ BlenderBoy // - 06.02.2011

ok i removed the .so from "plugins pythonplugin.so" and now is just "plugins pythonplugin" in the server.cfg.
i opened the console and i still have same error


Re: python plugin install error - HyperZ - 06.02.2011

Change 'pythonplugin.so' to 'pythonplugin.dll' in your server.cfg


Re: python plugin install error - \\ BlenderBoy // - 06.02.2011

i allready have the plugin and yes i added to the server root -> plugins folders


Re: python plugin install error - \\ BlenderBoy // - 06.02.2011

i did what u sayed so i changed now the line "plugins pythonplugin.so" to "plugins python plugin.dll" but it's giving me the same error