07.08.2011, 02:11
Hello all,
I am using mAdmin, but when i want to compile it, I always get this error:
This is the PAWN code:
Any help will be highly appericiated
Kappa
I am using mAdmin, but when i want to compile it, I always get this error:
Код:
C:\Users\Korisnik\Desktop\test\filterscripts\mAdmin.pwn(531) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.
pawn Код:
public OnPlayerPrivmsg(playerid, recieverid, text[])
{
new RecieverName[24], pName[24], str[256];
GetPlayerName(recieverid, RecieverName, sizeof(RecieverName));
GetPlayerName(playerid, pName, sizeof(pName));
format(str, sizeof(str), "* PM from %s (ID: %d) to %s (ID: %d): %s", pName, playerid, RecieverName, recieverid, text);
SendModMsg(COLOR_LIGHTBLUE, str);
return 1;
}
Kappa