01.08.2010, 14:24
I don't get what you want to say.. I deleted public OnPlayerCommandText and placed OnPlayerCommandPerformed(playerid, cmdtext[], success) in there.
my zcmd command is not under OnPlayerCommandPerformed(playerid, cmdtext[], success)
i tried to put the command under that callback but there was an errors. Then i placed the command somewhere, under no callback. No errors, but only zcmd command worked. All commands expect zcmd doesnt work. It shows that command is unknown.
And public OnPlayerCommandReceived(playerid, cmdtext[]) return 1; somewhere in the script i have placed too.
I can't find the problem
my zcmd command is not under OnPlayerCommandPerformed(playerid, cmdtext[], success)
i tried to put the command under that callback but there was an errors. Then i placed the command somewhere, under no callback. No errors, but only zcmd command worked. All commands expect zcmd doesnt work. It shows that command is unknown.
And public OnPlayerCommandReceived(playerid, cmdtext[]) return 1; somewhere in the script i have placed too.
I can't find the problem