pawn-lang / compiler

Pawn compiler for SA-MP with bug fixes and new features - runs on Windows, Linux, macOS
Other
303 stars 70 forks source link

How do I create new native functions that can be suggested to the autotext / autocomplete system later? so far I can only build with #define only. #644

Closed PutuSuhartawan closed 3 years ago

PutuSuhartawan commented 3 years ago

Excuse me, I want to ask. How do I create new native functions that can be suggested to the autotext / autocomplete system later? so far I can only walk with #define only.

image image do you have any suggestions so that it can appear in the autotext/ autocomplete system? image I got an inaccurate suggestion from all autocomplete because if it is #define there will be a lot of percent signs like this in this image. how to make him like a native? for which there are many suggested variables in each parameter image

Issue description:

Minimal complete verifiable example (MCVE):

Workspace Information:

Y-Less commented 3 years ago

This repo is for the compiler.