Commands Problem - 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: Commands Problem (
/showthread.php?tid=274509)
Commands Problem -
xXGaryXx - 06.08.2011
Hi,
my problem is the following: If I go into the server and type in /stats or somthing else the server doesn't respond. All the Commands that are in the script don't do this. Only the Commands in my filterscript work. What is wrong? Before I added this fs everything was working, but now just the commands in the fs.
Help please!
Re: Commands Problem -
WoodPecker - 06.08.2011
Try to disable the filterscript and try the gamemode commands.
AW: Commands Problem -
xXGaryXx - 06.08.2011
Yes this works but I need this fs ^^
Re: Commands Problem -
Norck - 06.08.2011
Check OnPlayerCommandText callback in your FS. If there is
at the end of the callback, then change it to
Re: Commands Problem -
WoodPecker - 06.08.2011
EDIT: try the Norck's one, if it doesnt work, then post here your filterscript.
AW: Commands Problem -
xXGaryXx - 06.08.2011
omg it was really return 1; xDD okay thank you
AW: Commands Problem -
xXGaryXx - 06.08.2011
now I have the same problem again. In the fs the callback is return 0; and if i disable ALL filterscripts it's the same problem
Re: Commands Problem -
Babul - 06.08.2011
i experienced the same issues at the OnDialogResponse() callback used in filterscripts. as soon i removed the last return 0; or return 1;, it worked (all dialogs got recognized). so try to remove the last return in your filterscript. if the gamemode commands still work, remove another filterscript's return and see if it still works.
if this trick fails, try to stick to ZCMD.
AW: Commands Problem -
xXGaryXx - 06.08.2011
doesn't work and i cant work with zcmd im too stupid for this. Other ideas?^^