09.02.2009, 16:53
I've been annoyed with dumb people using /tpm on servers from Brazil, than I looked for a solution, and I found this on wiki.sa-mp.com:
But, when I've used it on a filterscript (clean script, it just has #include <a_samp> and this callback), I got this warning:
Some bug on this callback or am I doing something wrong?
I didn't even test if it works but if I got this kind of warning it shouldn't work.. ;P
Код:
public OnPlayerTeamPrivmsg(playerid,text[]){return 0;}
Код:
C:\DOCUME~1\PARTIC~1\Desktop\sa-mp\DESENV~1\FILTER~1\ANTI-T~1\TEAMPM~1.PWN(2) : warning 235: public function lacks forward declaration (symbol "OnPlayerTeamPrivmsg")
I didn't even test if it works but if I got this kind of warning it shouldn't work.. ;P