Settings

Theme

Pawn is a simple, typeless, 32-bit extension language with a C-like syntax

compuphase.com

35 points by unleaded 2 months ago · 12 comments

Reader

iknowstuff 2 months ago

Oh 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.

porkbrain 2 months ago

Used 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.

bakugo 2 months ago

A 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

gbarletta 2 months ago

My 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 :)

nkotov 2 months ago

Reminds me of the good ol' days of SA:MP.

j-scott 2 months ago

See also Sourcepawn[0], popular in the sourcemod engine community for custom server plugins and game modes.

[0] https://github.com/alliedmodders/sourcepawn

  • comex 2 months ago

    I 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_(lega...

    No structs/classes/objects. No pointers. You had to store everything with arrays of primitives.

  • nrawe 2 months ago

    Many hours of fun it was running CounterStrike servers and writing my own plugins. Halcyon days :)

  • ziml77 2 months ago

    Ah I remember writing a couple TF2 mods in sourcepawn years back. Those were fun to play with friends!

munchlax 2 months ago

What 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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection