Raised This Month: $101 Target: $400
 25% 

Is there any pawn code converter?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
thEsp
Member
Join Date: Aug 2017
Location: Gjilan, Albania
Old 10-04-2018 , 11:27   Is there any pawn code converter?
Reply With Quote #1

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!
__________________
Very busy these days ... Currently working on:

Gamer's Union (HTML)
Balkan 1999 (Unity3D)
thEsp is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 10-04-2018 , 17:59   Re: Is there any pawn code converter?
Reply With Quote #2

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?
__________________
<VeCo> is offline
thEsp
Member
Join Date: Aug 2017
Location: Gjilan, Albania
Old 10-05-2018 , 09:22   Re: Is there any pawn code converter?
Reply With Quote #3

Quote:
Originally Posted by <VeCo> View Post
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).
__________________
Very busy these days ... Currently working on:

Gamer's Union (HTML)
Balkan 1999 (Unity3D)
thEsp is offline
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 10-05-2018 , 11:56   Re: Is there any pawn code converter?
Reply With Quote #4

Quote:
Originally Posted by thEsp View Post
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.
__________________
<VeCo> is offline
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Old 10-05-2018 , 11:57   Re: Is there any pawn code converter?
Reply With Quote #5

Quote:
Originally Posted by <VeCo> View Post
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.
__________________

Last edited by Silvers; 10-05-2018 at 11:58.
Silvers is offline
thEsp
Member
Join Date: Aug 2017
Location: Gjilan, Albania
Old 10-05-2018 , 16:47   Re: Is there any pawn code converter?
Reply With Quote #6

Quote:
Originally Posted by <VeCo> View Post
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.
__________________
Very busy these days ... Currently working on:

Gamer's Union (HTML)
Balkan 1999 (Unity3D)
thEsp is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Traphouse
Old 10-09-2018 , 13:14   Re: Is there any pawn code converter?
Reply With Quote #7

Quote:
Originally Posted by thEsp View Post
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.
Pawn is easy.
__________________
Knife Bounty
CS Battle Royale (PUBG)
Contact/Ticket System

Santas vs Monsters New Private Mod

Juice Wrld
edon1337 is offline
Send a message via Skype™ to edon1337
redivcram
Veteran Member
Join Date: Jul 2014
Old 11-12-2018 , 12:00   Re: Is there any pawn code converter?
Reply With Quote #8

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.
__________________
Stuff I'm good at:
- Goldsource level designing
- Arty in World of Tanks

redivcram is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 11-14-2018 , 10:49   Re: Is there any pawn code converter?
Reply With Quote #9

Quote:
Originally Posted by redivcram View Post
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.
__________________

Last edited by Neeeeeeeeeel.-; 11-14-2018 at 11:01.
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
redivcram
Veteran Member
Join Date: Jul 2014
Old 11-14-2018 , 11:14   Re: Is there any pawn code converter?
Reply With Quote #10

Quote:
Originally Posted by Neeeeeeeeeel.- View Post
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.
__________________
Stuff I'm good at:
- Goldsource level designing
- Arty in World of Tanks

redivcram is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:46.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode