06.09.2015, 08:55
The problem was here.
With first bracket you're closing the callback and that means, the rest of the code is outside of script.
pawn Код:
}
else if(PlayerInfo[playerid][Level] >= 1)
{
pawn Код:
// Begin of callback
public OnPlayerText(playerid, text[])
{
new pTextd[241];
format(pTextd, sizeof (pTextd), "[Member](%d) %s", playerid, text);
SendPlayerMessageToAll(playerid, pTextd);
} // End of callback
// and the rest
else if(PlayerInfo[playerid][Level] >= 1)
{
format(pTextd, sizeof (pTextd), "[Admin](%d) %s", playerid, text);
SendPlayerMessageToAll(playerid, pTextd);
return 0;
}

