#1

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
Reply
#2

http://forum.sa-mp.com/index.php?topic=116240.0
Reply
#3

CMD:test(playerid, params[])
Reply
#4

i use cmd command but don't good the cmdtext (( OnPlayerCommandText ))
Reply
#5

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
Reply
#6

But I am using zcmd just want to have the basic commands used to smooth said ...
Reply
#7

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
Reply
#8

But somehow it just could be used to solve the basic command is not it?: S
Reply
#9

You don't need to call OPCT.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)