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;
}