Ok guys this is my first tutorial ever! Don't tell me (you can't make tutorials, you suck etc.. if you wanna say it just don't comment atleast tell me what i did wrong thanks.

Ok, Let's start

First of all include zcmd at the top

If u don't got it get it from here http://forum.sa-mp.com/showthread.php?t=91354
and put zcmd.inc at pawno/includes

pawn Code:
#include <zcmd>

Ok Now let's do the command

PHP Code:
CMD:kill(playerid,params[])//CMD can also be COMMAND anyways after that put your cmd name it can be anything also killme or whatever u choose.
{
SetPlayerHealth(playerid, 0.0);//Ok,0.0 it's the health of the player after he types /kill, Playerid is the player that types that cmd (Correct me if i was wrong) and setplayerhealth sets the player health
return 1;//And we are done.
}