zcmd problem..
#1

Ok, i made my first zcmd`s

added includes etc.. compiled and went in the server. Tested out my zcmds - Works perfect.

But... my other cmds wont work.

When i type existing cmd - normal one

it shows that is incorrect /unknown.
Reply
#2

when you use zcmd you can't use OnPlayerCommandText in the same script
Reply
#3

omg.... .
WHY?

then i need to run all my zcmds in filterscript?
Reply
#4

lol zcmd is fun to use lol

at bottom, very bottom
Reply
#5

just convert all your commands to zcmd
Reply
#6

y.. i have a lot of commands... it will be verry hard... ;(

there is no way to fix that?

//////////

willsuckformoney: WTF? ?!!?!!??
Reply
#7

Rename
Код:
public OnPlayerCommandText(playerid, cmdtext[])
to
Код:
public OnPlayerCommandProcessed(playerid, cmdtext[], success)
and replace the
Код:
return 0;
at the bottom of onplayercommandtext to
Код:
return success;
Somewhere in your script, add
Код:
public OnPlayerCommandReceived(playerid, cmdtext[]) return 1;
Reply
#8

still cant..


Edit: CAnn..

you mixed something..
Not processed but Performed, so i needed to forward that callback to and decided to look into include..


thank you verry much..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)