SA-MP Forums Archive
how can i combine commands in FS and GM scripts? - 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: how can i combine commands in FS and GM scripts? (/showthread.php?tid=530594)



how can i combine commands in FS and GM scripts? - PawnoQ - 08.08.2014

hi,

i have loaded one FS and a GM script.
All commands i have listed implemented in my FS script work fine.
But when i also add a command in my GM script it says "unknown command" when i try to use that command from my GM on server.
So how can i make it like commands from FS and GM work on server?
Is that possible?
And how it comes that this causes issues?
Please help

thanks a lot in advance


Re: how can i combine commands in FS and GM scripts? - ViniBorn - 08.08.2014

If your GM use OnPlayerComandText, and the FS use zcmd, for example, the callback OnPlayerComandText is "disable".


Re: how can i combine commands in FS and GM scripts? - PawnoQ - 08.08.2014

As far as i know u can still use OnPlayerCommandTextPerformed for that purpose...
My question is how can i use commands of any kind (no matter if in a callback or another cmd processor like e.g. zcmd) in my GM AND FS?

Please help, as far as i know this should be possible but for some reason only my FS commands work and the ones i have implemented in the GM script arent known by the server.

thx


Re: how can i combine commands in FS and GM scripts? - PawnoQ - 09.08.2014

Someone help please