samp.directory
← Scripts and libraries

tdworg/samp-include-cjump

Special functions to jump between functions.

Library★ 3updated May 2017No licencePAWN
Open on GitHub

This repository has no licence file. It is public to read, but that alone does not give permission to reuse it.

Try it in the Pawn compiler →

Adds its include files, with the libraries it depends on, to the Pawn compiler in your browser, ready to include in a script.

README.md

TDW C-like jumps

This library adds the functional to jump between functions.

Example:

new jmp[JmpBuf];

main() {
	new ret;
	setjmp(jmp, ret);

	if (ret < 10) {
		somefunc(ret);
	}
}

somefunc(ret)
{
	printf("%d", ret);
	longjmp(jmp, ++ret);
}

amxincludejumpspawnsamp

This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing