[Q] ZCMD - 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: [Q] ZCMD (
/showthread.php?tid=194566)
[Q] ZCMD -
XePloiT - 29.11.2010
when im use zcmd its disables commands on OnPlayerCommandText
is this suppose to be like this? and if it is.. is there way to make this work fine with the OnPlayerCommandText?
EDIT: another zcmd question... when im trying to compile zcmd its has a lot of errors...
i know im now suppose to compile this but i wanted to check if everything is correct...
well this is suppose to be like that or I've got a bad zcmd .inc?
one more question... if my zcmd file is ok and all the errors suppose to be...
so when i used OnPlayerCommandText i've changed the return 0 to return SendClientMessage(playerid....);
which when a players types command that doesn't exist its writes something instead of SERVER:UNKNOWN COMMAND
if there is any way to change it in the zcmd...(i tryed in the zcmd inc but its didn't changed anything)
Re: [Q] ZCMD -
randomkid88 - 29.11.2010
You should just use ZCMD for everything. Why are you using OnPlayerCommandText still?
Re: [Q] ZCMD -
XePloiT - 29.11.2010
i don't... for example if i download FS to try and its uses OnPlayerCommandText i will have to change it :\
and if its a big FS...
Re: [Q] ZCMD -
XePloiT - 29.11.2010
UP..
im added more at the first post... tnx
Re: [Q] ZCMD -
iggy1 - 29.11.2010
Read the zcmd thread it adds 2 new callbacks you could use one instead of OnPlayerCommandText (which you can't use with ZCMD).
Re: [Q] ZCMD -
XePloiT - 29.11.2010
tnx iggy!