21.05.2016, 20:16
I get this error messages:
And this is the code:
This is macro for INFO
PHP код:
D:\test\gamemodes\test.pwn(109) : error 001: expected token: "-string end-", but found "-identifier-"
D:\test\gamemodes\test.pwn(109) : warning 215: expression has no effect
D:\test\gamemodes\test.pwn(109) : error 001: expected token: ";", but found ")"
D:\test\gamemodes\test.pwn(109) : error 029: invalid expression, assumed zero
D:\test\gamemodes\test.pwn(109) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
PHP код:
forward LoginTimer(playerid);
public LoginTimer(playerid)
{
new string[50];
format(string, sizeof(string), "%s", PlayerInfo[playerid][pLozinka]);
INFO(playerid, string); // line 109
format(string, sizeof(string), "%d", PlayerInfo[playerid][pID]);
INFO(playerid, string);
}
PHP код:
#define INFO(%1,%2) SendClientMessage(%1,-1,"{0080FF}INFO:{FFFFFF}"%2)