Filterscript Error - 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)
+--- Thread: Filterscript Error (
/showthread.php?tid=373830)
Filterscript Error -
UnknownGamer - 31.08.2012
Код:
error 017: undefined symbol "ScriptBan"
How do I define scriptban in a filter-script?
I keep getting the error above...
ScriptBan(playerid,999,"Money Hacks");
Re: Filterscript Error -
Johnson_Brooks - 31.08.2012
Can you give us the whole code of the ScriptBan ?
Re: Filterscript Error -
XGh0stz - 31.08.2012
Not sure exactly what you mean by that...
Have you tried to just copy this ScriptBan function over to the filterscript?
(Search your other scripts that use this ScriptBan and locate the function for it)
Example of what it might look like:
Код:
ScriptBan(playerid,value,string[]){
// Some code
}
Re: Filterscript Error -
Johnson_Brooks - 31.08.2012
Give us more info,otherwise we wont be able to help you.
If you want to include your script into another script and create an .inc file
(If you dont know how click on a_samp.inc)(you'll find some stuff)