fw_PlayerPreThink的PlayerPreThink是不是指玩家持續性插件?
fw是什麼?我參考了一些SMA,為什麼SMA裏的public fw_PlayerPreThink(id)裏,幾乎都是fm_xxxxxxxx
請大大解說
複製程式
public fw_PlayerPreThink(id)
{
if (!is_user_alive(id))
return FMRES_IGNORED;
if (fm_cs_get_user_team(id) != 1)
return FMRES_IGNORED;
if (has_custom_weapons(id, PRIMARY_WEAPONS_BIT_SUM) || has_custom_weapons(id, SECONDARY_WEAPONS_BIT_SUM))
{
fm_strip_user_weapons(id)
fm_give_item(id, "weapon_knife")
}
return FMRES_IGNORED;
}