[Plugin] Python
#41

I got a little suggestion (or at least here is what I did).

I converted the python.pwn script to an include, which hooks the callbacks etc, so you can still use your own PAWN gamemodes and python at the same time.
So just include pythonrunner.inc (in my case its the name of the python.pwn) in every pawn gamemode and use the python scripts like filterscripts.
I did this to use the html-server together with my old gamemode.

I think this method is better if you have a cool pawn gamemode but still want to use Python.
Reply
#42

Actually, I just edited the first post in this topic yesterday and also added, that you can actually just replace the OnGameModeInit/-Exit callbacks with the ones for filterscripts in python.pwn and then just use it as a filterscript.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)