SendClientMessage timed
#6

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:
pawn Код:
forward SendClientMessageEx(playerid, color, Alloc:slot);

public SendClientMessageEx(playerid, color, Alloc:slot)
{
SendClientMessage(playerid, color, mget(slot));
free(slot); // Very important
}
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
Reply


Messages In This Thread
SendClientMessage timed - by CracK - 11.03.2009, 07:03
Re: SendClientMessage timed - by Burridge - 11.03.2009, 07:45
Re: SendClientMessage timed - by CracK - 11.03.2009, 08:48
Re: SendClientMessage timed - by Dujma - 11.03.2009, 08:54
Re: SendClientMessage timed - by CracK - 11.03.2009, 10:13
Re: SendClientMessage timed - by CracK - 11.03.2009, 11:22
Re: SendClientMessage timed - by CracK - 11.03.2009, 16:13
Re: SendClientMessage timed - by CracK - 12.03.2009, 14:39
Re: SendClientMessage timed - by NigNog1 - 12.03.2009, 15:35
Re: SendClientMessage timed - by Simon - 12.03.2009, 23:41
Re: SendClientMessage timed - by CracK - 13.03.2009, 08:54
Re: SendClientMessage timed - by Kinetic - 13.03.2009, 09:31
Re: SendClientMessage timed - by CracK - 13.03.2009, 09:41
Re: SendClientMessage timed - by Kinetic - 13.03.2009, 09:48
Re: SendClientMessage timed - by CracK - 13.03.2009, 10:18
Re: SendClientMessage timed - by Kinetic - 13.03.2009, 11:17
Re: SendClientMessage timed - by CracK - 13.03.2009, 11:33

Forum Jump:


Users browsing this thread: 1 Guest(s)