07.02.2009, 09:26
just a little note, its
also, i would really suggest you to use a macro for these things, way easier
and then, when making a public function, you will use:
instead of
EDIT: You forgot the semicolons, try my way, it will help you :P
EDIT 2: here the pastebin, so you see a example
http://pastebin.com/d67e5175d
Cheers.
pawn Код:
forward PayPlayerInArea();
forward PirateShipScoreUpdate();
pawn Код:
#define fpublic%1(%2) forward %1(%2); public %1(%2)
pawn Код:
fpublic Function(params)
pawn Код:
forward Function(params)
public Function(params)
EDIT 2: here the pastebin, so you see a example
http://pastebin.com/d67e5175d
Cheers.

