SA-MP Forums Archive
/kill problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: /kill problem (/showthread.php?tid=523330)



/kill problem - YanLanger - 01.07.2014

Hello, i got a little problem

My /kill won't work before it worked but now..

Can anyone help me and ye ik it supposed to be under OnPlayerCommandText or whatever


Re: /kill problem - Timeless - 01.07.2014

CMD:kill(playerid, params[])
{
SetPlayerHealth(playerid, -1);
}

its zcmd tho


Re: /kill problem - YanLanger - 01.07.2014

oke ima try dat


Re: /kill problem - YanLanger - 01.07.2014

Oh thanks bro !


Re: /kill problem - XXJacksug8X - 01.07.2014

Код:
public OnPlayerCommandText(playerid,cmdtext[]) {
	if(!strcmp(cmdtext[1],"kill",true)) return SetPlayerHealth(playerid,-1);
	return 0;
}



Re: /kill problem - Timeless - 01.07.2014

Quote:
Originally Posted by YanLanger
Посмотреть сообщение
Oh thanks bro !
so no rep? xD