SA-MP Forums Archive
How could I ? - 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: How could I ? (/showthread.php?tid=661933)



How can I call the compiler to execute? - Osamakurdi - 19.12.2018

Hello,
I came here to ask few questions and I don't know if it's the right place to ask...anyway
I'm a python programmer I have just created a text editor that you can write your code in it, instead of pawno and this editor created to solve what samp programmers hate and make them mad...

But unfortunately I had some problems:

First, how I can compile(build) what players type so I can make it a compiler too
Second, how can I use the syntax of samp..

Thanks.


Re: How could I ? - Banditul18 - 19.12.2018

As far i know you cant make it compiler cus theres alot of things behind the compiler. But you can always call the compiler to be executed on the open file(pawno editor does that too)

Source code of the samp comunity patched compiler: https://github.com/pawn-lang/compiler

I would rather use VS Code or Sublime Text, they already got what you need


Re: How could I ? - Osamakurdi - 19.12.2018

Actually I didn't understand how could I call the compiler to execute?


Re: How could I ? - Osamakurdi - 20.12.2018

Anyone ?


Re: How could I ? - StRaphael - 20.12.2018

Try to make some kind of option like Notepad++ can does(with NPPExec plugins and other stuff).
Read this topic for more information.