I am preparing for Admin CMD myself and there is a problem with my code the user_silentkill doesnt work
Message stocks INC:
Code:
stock user_silentkill(index, flag = 1)
{
static msgid = 0;
new msgblock;
if (!msgid)
{
msgid = get_user_msgid("DeathMsg");
}
msgblock = get_msg_block(msgid);
set_msg_block(msgid, BLOCK_ONCE);
user_kill(index, flag);
set_msg_block(msgid, msgblock);
return 1;
}
PHP Code:
if (is_user_alive(player))
user_silentkill(player)
cs_set_user_team( player, CS_TEAM_SPECTATOR );
}
How can i use that stock work in code prop, i need set that inc name on code?