Commands arent working
#1

Hello,
Commands arent working,I have scripted them right but they dont work,when i go ingame and write /lvair or any command it sais "SERVER: Unknown Command"
Help me!
Reply
#2

Make sure your command has "return 1;" at the end of the code.
Reply
#3

No wonder, we'll need to see your particular command, and yea did it give .. should return a value warning?
Reply
#4

You can get that message:
- If you use more than 1 command processor. For example, if you use both DCMD + ZCMD commands in a single mode.
- If a run time error is caused while executing the code from the command.
- If you return 0.
Reply
#5

no wait,
What if i use 2 different filterscripts with different processors?
tha protimousa ta ellinika alla ok.
Reply
#6

Convert everything to <zcmd> even the filterscripts.
Reply
#7

Quote:
Originally Posted by [SU]Spartan
Посмотреть сообщение
What if i use 2 different filterscripts with different processors?
That's fine. The problem would be in a single script if you did.

By the way, check if the commands return 0 because let's assume it will return 0 if the player is not RCON admin so the player will see the unknown command message.
Reply
#8

they are all return 1;
Reply
#9

help me please.
Reply
#10

Can you post a picture of the server console please if possible?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)