SA-MP Forums Archive
Symbol* - 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: Symbol* (/showthread.php?tid=161493)



Symbol* - Jamal' - 20.07.2010

public OnPlayerPrivmsg(playerid, recieverid, text[])
{
return 0;
}

I get one error with public OnPlayerPrivmsg when i try to compile goddather GM

C:\Users\hpi\Downloads\The Godfather\gamemode\gf.pwn(26207) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")

Why i get this error?

Thanks


Re: Symbol* - Joe_ - 20.07.2010

OnPlayerPrivmsg(playerid, recieverid, text[])

The callback is not added in 0.3, so the compiler thinks it's a custom function.


Re: Symbol* - Agent Smith - 20.07.2010

https://sampwiki.blast.hk/wiki/OnPlayerPrivmsg

This function was removed in 0.3. If you have a look at the link you will find a /pm command