3 ms·
Pawn is a simple, typeless, 32-bit extension language with a C-like syntax
- porkbrain 1y agoUsed for example to write GTA SAMP modes. I remember writing them in Pawno IDE. The scripts would get large as I'd export positions of many objects and paste them into the scripts to spawn in game. Makes for an okey "how I started programming" story.
- j-scott 1y agoSee also Sourcepawn[0], popular in the sourcemod engine community for custom server plugins and game modes. [0] https://github.com/alliedmodders/sourcepawn https://github.com/alliedmodders/sourcepawn
- nrawe 1y agoMany hours of fun it was running CounterStrike servers and writing my own plugins. Halcyon days :)
- comex 1y agoI used this a very long time ago and rather disliked it. My impression at the time was that it was just a worse version of C. As low-level as C, with fewer features, and much slower - unlike a normal scripting language which is slower but higher-level with more features. They've since changed the language syntax, but this is the version I was dealing with: https://wiki.alliedmods.net/Introduction_to_SourcePawn_(legacy_syntax) https://wiki.alliedmods.net/Introduction_to_SourcePawn_(lega... No structs/classes/objects. No pointers. You had to store everything with arrays of primitives.
- ziml77 1y agoAh I remember writing a couple TF2 mods in sourcepawn years back. Those were fun to play with friends!
- bakugo 1y agoA slightly modified version of this was used as the gameplay scripting language in Pokémon games from gens 6 to 8: https://github.com/SciresM/gf-pawncc https://github.com/SciresM/gf-pawncc
- nucleogenesis 1y agoThe story in the readme is hilarious
- iknowstuff 1y agoOh yeah wrote thousands of lines in it. Overall awful language but many fond memories for server owners. These days I’d probably just implement a wasm runtime.
- munchlax 1y agoWhat were they thinking? Wait while I'm compiling pawn? Lets solve the problem in pawn? I'm writing pawn for a living? I made a pawn program just for you? Why.
- nkotov 1y agoReminds me of the good ol' days of SA:MP.
- krustowski 1y agolet's resurrect these days with open.mp!
- gbarletta 1y agoMy first programming language! I used to write SA:MP gamemodes with it, and was also my gateway to the C language: it is easily embeddable and I had a lot of fun learning C while writing toy runtimes :)