Symbol*
#1

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
Reply
#2

OnPlayerPrivmsg(playerid, recieverid, text[])

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)