python plugin install error
#1

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
Reply
#2

Are you loading a gamemode written in Python?
Reply
#3

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

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
Reply
#5

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")
Reply
#6

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

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
Reply
#8

Change 'pythonplugin.so' to 'pythonplugin.dll' in your server.cfg
Reply
#9

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)