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

35 pointsposted 4 months ago
by unleaded

12 Comments

iknowstuff

4 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

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

gbarletta

4 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

4 months ago

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

krustowski

3 months ago

let's resurrect these days with open.mp!

j-scott

4 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

4 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

4 months ago

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

ziml77

4 months ago

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

munchlax

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