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.
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.
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 :)
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:
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.
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.
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 :)
Reminds me of the good ol' days of SA:MP.
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
The story in the readme is hilarious
See also Sourcepawn[0], popular in the sourcemod engine community for custom server plugins and game modes.
[0] https://github.com/alliedmodders/sourcepawn
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.
Ah I remember writing a couple TF2 mods in sourcepawn years back. Those were fun to play with friends!
Many hours of fun it was running CounterStrike servers and writing my own plugins. Halcyon days :)
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.