|
@@ -362,7 +362,6 @@ module.exports = function FpsUtils(mod) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function HideSpecificNpc(hz, ti) {
|
|
function HideSpecificNpc(hz, ti) {
|
|
|
- console.log(`HideSpecificNpc ${hz} "${typeof hz}"- ${ti} "${typeof ti}"`)
|
|
|
|
|
for (let i in SNpcs) {
|
|
for (let i in SNpcs) {
|
|
|
if (SNpcs[i].huntingZoneId === hz && SNpcs[i].templateId === ti) {
|
|
if (SNpcs[i].huntingZoneId === hz && SNpcs[i].templateId === ti) {
|
|
|
mod.toClient('S_DESPAWN_NPC', 3, { gameId: SNpcs[i].gameId, loc: SNpcs[i].loc, type: 1, unk: 0 })
|
|
mod.toClient('S_DESPAWN_NPC', 3, { gameId: SNpcs[i].gameId, loc: SNpcs[i].loc, type: 1, unk: 0 })
|
|
@@ -384,7 +383,6 @@ module.exports = function FpsUtils(mod) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function ShowSpecificNpc(hz, ti) {
|
|
function ShowSpecificNpc(hz, ti) {
|
|
|
- console.log(`ShowSpecificNpc ${hz} "${typeof hz}"- ${ti} "${typeof ti}"`)
|
|
|
|
|
for (let i in HNpcs) {
|
|
for (let i in HNpcs) {
|
|
|
if (HNpcs[i].huntingZoneId === hz && HNpcs[i].templateId === ti) {
|
|
if (HNpcs[i].huntingZoneId === hz && HNpcs[i].templateId === ti) {
|
|
|
mod.toClient('S_SPAWN_NPC', 10, HNpcs[i]);
|
|
mod.toClient('S_SPAWN_NPC', 10, HNpcs[i]);
|