[Plugin] pawnCompiler - Compile your scripts without pawno
#21

Wow very nice ryder :O so this allows you to compile an .pwn file with just a filterscript and plugin
Reply
#22

Quote:
Originally Posted by gamer931215
Посмотреть сообщение
Wow very nice ryder :O so this allows you to compile an .pwn file with just a filterscript and plugin
Extactly ^^
Reply
#23

Good job !!!

Not for Linux ? :/
Reply
#24

Quote:
Originally Posted by Ruto
Посмотреть сообщение
Good job !!!

Not for Linux ? :/
Last post of this topic before yours above

06/09/2010, 03:06 PM

Almost a year ago.
Reply
#25

Quote:
Originally Posted by blackwave
Посмотреть сообщение
Last post of this topic before yours above

06/09/2010, 03:06 PM

Almost a year ago.
whats your problem? hes asking for a linux version
Reply
#26

Quote:
Originally Posted by Donya
Посмотреть сообщение
whats your problem? hes asking for a linux version
Quote:
Originally Posted by dugi
Посмотреть сообщение
SA-MP is using a custom pawn compiler which will work only on windows.
4char.
Reply
#27

This source can be used to make plugin for decompiling scripts
Reply
#28

Awesome
Reply
#29

Hey awesome! This would be damn useful to me ...but the link is broken.
Reply
#30

Very very awesome man!
Reply
#31

With all the changes that ocurred in samp, does it still work?
Reply
#32

Quote:
Originally Posted by Dreyfuz
Посмотреть сообщение
With all the changes that ocurred in samp, does it still work?
Yes.

Also, on a side note. adri1 compiled the pawn compiler directly inside his TBR plugin, I think doing that is better than executing the file.
Reply
#33

It should work however personally even recompiling, I couldn't(this was a while ago though, when I wasn't so experienced with C++) and couldn't seem to get it work properly.

Though, using systemEx(which uses the system function in C++) in my C++ function can do the job easily, though the only thing(that may not be quite wanted) is it prints the result of the compiler in the console(though this can be modified so it doesn't output).

The following code works great:
pawn Код:
#include <a_samp>
#include <color>
#include <sscanf2>

public OnRconCommand(cmd[])
{
    new operation[32], file[64], string[128];
    if(sscanf(cmd, "s[32]s[64]", operation, file)) return 1;
    if(strcmp(operation, "compile", true) == 0)
    {
                format(string, sizeof(string), "pawno\\pawncc.exe %s", file);
        systemEx(string);
        return 1;
    }
   
    return 1;
}
The plugin can be found here: https://sampforum.blast.hk/showthread.php?tid=582364
Reply
#34

WoW
Good Work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)