Help with zcmd
#1

Heya, am kinda new to scripting and I have a little problem, since zcmd is kinda new to me.
So I included it, and placed zcmd in pawno/include, now when I type this:

pawn Код:
cmd:kill(playerid, params[])
  {
   SetPlayerHealth(playerid, 0);
   return 1;
  }
I get this error, and the cmd won't work in-game, so I am doing wrong?

pawn Код:
C:\Users\xxxx\Desktop\xxxx\gamemodes\xxxx.pwn(230) : warning 203: symbol is never used: "kill"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.
Reply
#2

What line is 230?
Reply
#3

capitalize cmd, like:
pawn Код:
CMD:kill(playerid, params[])
{
   SetPlayerHealth(playerid, 0);
   return 1;
}
Reply
#4

Quote:
Originally Posted by Wizza
Посмотреть сообщение
What line is 230?
There is no line 230..

Quote:
Originally Posted by alinategh
Посмотреть сообщение
capitalize cmd, like:
pawn Код:
CMD:kill(playerid, params[])
{
   SetPlayerHealth(playerid, 0);
   return 1;
}
Thanks complies clrearly.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)