importing samp functions into python script [help]
#1

hello, i am trying to write a python code for my samp server, but i don't know how to import all of samp functions into my script, i would apreciate if someone could show me an example code, thanks
Reply
#2

Following on from what ****** said: Someone actually released a plugin to script a SA-MP server in Python, so you're in luck (see here), but as ****** said, you can't just begin scripting in any language - someone has to create support for the language by writing some form of a wrapper plugin.
Reply
#3

yes i have a plugin , the plugin from "fabsch", i readed his page on how to setup, for beeing able to write a python code for samp, it seems that all is working fine but my script is not loaded into the server, on server.cfg i added this:
gamemode0 python 1, into the gamemode directory i have a script called "python" so for this reason i added on this line: gamemode0 python 1, but the script is not loaded when i am playing into the server, and the second problem is that i don't know how to import all my sa-mp functions into the python script
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)