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: Zcmd (
/showthread.php?tid=148497)
Zcmd -
dnsdj - 17.05.2010
Hello
I using zcmd, but have i one problem. (( sorry for my bad english ))
i add the script this line '#include <zcmd>' and bad onplayercommandtext.. i make new command and test..
Test: i type the chat ' /test ' and server unknown command..
what the problem?:S
Re: Zcmd -
Bomber - 17.05.2010
http://forum.sa-mp.com/index.php?topic=116240.0
Re: Zcmd -
ViruZZzZ_ChiLLL - 17.05.2010
CMD:test(playerid, params[])
Re: Zcmd -
dnsdj - 17.05.2010
i use cmd command but don't good the cmdtext (( OnPlayerCommandText ))
Re: Zcmd -
ViruZZzZ_ChiLLL - 17.05.2010
You don't have to put
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
when your using ZCMD
just put
pawn Код:
CMD:commandhere(playerid, params[])
{
// do something here
}
and its done
Re: Zcmd -
dnsdj - 17.05.2010
But I am using zcmd just want to have the basic commands used to smooth said ...
Re: Zcmd -
ViruZZzZ_ChiLLL - 17.05.2010
Quote:
Originally Posted by dnsdj
But I am using zcmd just want to have the basic commands used to smooth said ...
|
Yes, and follow what I said
Re: Zcmd -
dnsdj - 17.05.2010
But somehow it just could be used to solve the basic command is not it?: S
Re: Zcmd -
RyDeR` - 17.05.2010
You don't need to call OPCT.