AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Off-Topic (https://forums.alliedmods.net/forumdisplay.php?f=15)
-   -   Is there any pawn code converter? (https://forums.alliedmods.net/showthread.php?t=311104)

thEsp 10-04-2018 10:27

Is there any pawn code converter?
 
I just wanted to know is there any program / website which translates (For example) c# to pawn or c++ to pawn.
If there is one, then let me know asap! :D

<VeCo> 10-04-2018 16:59

Re: Is there any pawn code converter?
 
They are different languages, I don't know how you expect to translate object classes into pawn. It's closer to C, but if you look around the docs you will find there are similar enough functions which are easy to replace.
Why do you even need such thing anyway?

thEsp 10-05-2018 08:22

Re: Is there any pawn code converter?
 
Quote:

Originally Posted by <VeCo> (Post 2618137)
They are different languages, I don't know how you expect to translate object classes into pawn. It's closer to C, but if you look around the docs you will find there are similar enough functions which are easy to replace.
Why do you even need such thing anyway?

Im not an good pawn scripter. But I know other programming language. Thats why I need an converter (if exists).

<VeCo> 10-05-2018 10:56

Re: Is there any pawn code converter?
 
Quote:

Originally Posted by thEsp (Post 2618246)
Im not an good pawn scripter. But I know other programming language. Thats why I need an converter (if exists).

If you really know other languages it wouldn't be hard to write your own implementations of the functions you need from there. The syntax and logic is pretty much the same across all of them.

Silvers 10-05-2018 10:57

Re: Is there any pawn code converter?
 
Quote:

Originally Posted by <VeCo> (Post 2618273)
If you really know other languages it wouldn't be hard to write

in sourcemod language itself.

I think it would take longer to write a converter than learning the language.

thEsp 10-05-2018 15:47

Re: Is there any pawn code converter?
 
Quote:

Originally Posted by <VeCo> (Post 2618273)
If you really know other languages it wouldn't be hard to write your own implementations of the functions you need from there. The syntax and logic is pretty much the same across all of them.

Yep, I totally agree with you tbh. But to learn an programing language you need to know CONTENT of machine/game/application it works. For ex, If someone decides to start pawn scripting, he needs to know content of hl/cs (And other mods). Or If I want to code in C++ I need to know basics of PC.
Pawn is tough imo. :up:

edon1337 10-09-2018 12:14

Re: Is there any pawn code converter?
 
Quote:

Originally Posted by thEsp (Post 2618350)
Yep, I totally agree with you tbh. But to learn an programing language you need to know CONTENT of machine/game/application it works. For ex, If someone decides to start pawn scripting, he needs to know content of hl/cs (And other mods). Or If I want to code in C++ I need to know basics of PC.
Pawn is tough imo. :up:

Pawn is easy.

redivcram 11-12-2018 11:00

Re: Is there any pawn code converter?
 
If you already know C, you can master Pawn in an instant. It's not as exciting and good as C or C++, but It's easy to learn. Gets the job done.

Neeeeeeeeeel.- 11-14-2018 09:49

Re: Is there any pawn code converter?
 
Quote:

Originally Posted by redivcram (Post 2623717)
If you already know C, you can master Pawn in an instant. It's not as exciting and good as C or C++, but It's easy to learn. Gets the job done.

Totally agree. If you know C/C++, pawn is a peace of cake.

But if you still like C/C++ there is nothing that can be achieved with pawn that cannot be done with an AMXX/SM/Metamod module. So if you prefer C/C++ go ahead.

redivcram 11-14-2018 10:14

Re: Is there any pawn code converter?
 
Quote:

Originally Posted by Neeeeeeeeeel.- (Post 2624001)
Totally agree. If you know C/C++, pawn is a peace of cake.

But if you still like C/C++ there is nothing that can be achieved with pawn that cannot be done with an AMXX/SM/Metamod module. So if you prefer C/C++ go ahead.

Yeah. But don't expect it to be in a flash, unfortunately, you can only learn more of metamod plugin writing from other plugins. I hope someday that we get a documentation of metamod plugins.


All times are GMT -4. The time now is 11:51.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.