Improve get_map_objectives native.
This commit is contained in:
1 parent
d8fc093fd8
commit
850ae540a9
1 file changed
+2
-1
@@ -399,7 +399,8 @@ static cell AMX_NATIVE_CALL get_map_objectives(AMX *amx, cell *params)
|
||||
|
||||
if (!FNullEnt(FIND_ENTITY_BY_STRING(NULL, "classname", "func_hostage_rescue")) ||
|
||||
!FNullEnt(FIND_ENTITY_BY_STRING(NULL, "classname", "info_hostage_rescue")) ||
|
||||
!FNullEnt(FIND_ENTITY_BY_STRING(NULL, "classname", "hostage_entity"))) // there are maps with only this and using team spawn as rescue zone.
|
||||
!FNullEnt(FIND_ENTITY_BY_STRING(NULL, "classname", "hostage_entity")) || // ) there are maps with only this and using team spawn as rescue zone.
|
||||
!FNullEnt(FIND_ENTITY_BY_STRING(NULL, "classname", "monster_scientist"))) // )
|
||||
flags |= MapObjective_Hostage;
|
||||
|
||||
if (!FNullEnt(FIND_ENTITY_BY_STRING(NULL, "classname", "func_vip_safetyzone")))
|
||||
|
||||
Reference in new issue
Block a user