11.03.2009, 11:22
Some strange things happen...
I've put #include <malloc>
If I paste nothing from your post, the script compiles without errors.
If I paste only this part:
Compiler says about the error in malloc.inc(expected token: ")", but found "-identifier-" and some others) at line 639.
If I paste both of these 2 parts I'll get the same error in malloc.inc again but at line 415
I've put #include <malloc>
If I paste nothing from your post, the script compiles without errors.
If I paste only this part:
pawn Код:
forward SendClientMessageEx(playerid, color, Alloc:slot);
public SendClientMessageEx(playerid, color, Alloc:slot)
{
SendClientMessage(playerid, color, mget(slot));
free(slot); // Very important
}
If I paste both of these 2 parts I'll get the same error in malloc.inc again but at line 415

