26.12.2018, 02:56
I tried this...
It wont work. When I type /kill 0 it kills id 0, but when I type /kill nothing happens. Same with Logic_'s script too, it just works with /kill (id)
It wont work. When I type /kill 0 it kills id 0, but when I type /kill nothing happens. Same with Logic_'s script too, it just works with /kill (id)
PHP код:
CMD:kill(playerid, params[])
{
new targetid;
if(sscanf(params, "U", targetid)) {
return SetPlayerHealth(playerid, 0);
}
SetPlayerHealth(targetid, 0);
return 1;
}