/b code filterscript???? How to make one? - 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: /b code filterscript???? How to make one? (
/showthread.php?tid=85790)
/b code filterscript???? How to make one? -
clean180ollie - 09.07.2009
Code:
[code#include <a_samp>
#include <dini>
#include <dutils>
#define FILTERSCRIPT
#if defined FILTERSCRIPT
public OnPlayerCommandText(playerid,cmdtext[]){
if(!strcmp("/b ",cmdtext,true,3)){
if(cmdtext[3]){
OnPlayerText(playerid,cmdtext[3]);
}else SendClientMessage(playerid,0xFF0000FF,"Usage:/b [text]");
return true;
}
return false;
}
#endif
Thats the code but a error comes up
Code:
C:\Program Files\Rockstar Games\SOCRoleplay\filterscripts\b.pwn(8) : error 004: function "OnPlayerText" is not implemented
what does that mean?
Re: /b code filterscript???? How to make one? -
Correlli - 09.07.2009
Stick to the
first topic.
Re: /b code filterscript???? How to make one? -
clean180ollie - 09.07.2009
lol fine ill go back to that one (lock topic)