17.06.2014, 01:37
Are you tired of having to type so much just to create a function?
Instead, throw this code at the top of your script (under the includes).
This...
becomes this:
Just a simple text replacement. You can still call the functions, set them to timers, etc.
Instead, throw this code at the top of your script (under the includes).
pawn Code:
#define F:%0(%1) forward %0(%1); \
public %0(%1)
pawn Code:
forward KickPublic(playerid);
public KickPublic(playerid)
{
Kick(playerid);
}
pawn Code:
F:KickPublic(playerid)
{
Kick(playerid);
}