SA-MP Forums Archive
Help me - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help me (/showthread.php?tid=197082)



Help me - KappaCro - 07.12.2010

I got this problem

pawn Код:
C:\Documents and Settings\User\Desktop\The Godfather\gamemodes\gf.pwn(26207) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
and here is script
pawn Код:
public OnPlayerPrivmsg(playerid, recieverid, text[])
{
    return 0;
}
Help me plz


Re: Help me - __ - 07.12.2010

Just remove the code:

pawn Код:
public OnPlayerPrivmsg(playerid, recieverid, text[])
{
    return 0;
}
It's a function that used to be enabled in the older SA-MP versions (0.2x<) but was recently removed. Godfather appears to not have been updated since.


Re: Help me - KappaCro - 07.12.2010

Thanks, removed and no errors THANKS