Differences between C and PAWN
If you know how to program in C, than program in PAWN is like being at your second home. However there are couple of differences to keep in mind. This list shows the most important of them to make life easier:
there is no need for ; at the end of each line
PAWN has Packed and unpacked strings and arrays
Only 2 dimensional arrays are possible
There is only one type - cell, it is like a 32 bit signed integer
Functions can have Default parameters
TBD, const, call by reference etc...
Look at the full docs: https://github.com/compuphase/pawn/tree/master/doc
Last updated
Was this helpful?