[11:07:28] [npc:join] TrainDriverLS has joined the server (99:127.0.0.1)
[11:07:28] [npc:join] TrainDriverSF has joined the server (98:127.0.0.1)
[11:07:28] [npc:join] TrainDriverLV has joined the server (97:127.0.0.1)
[11:07:28] [npc:join] PilotLS has joined the server (96:127.0.0.1)
[11:07:28] [npc:join] PilotSF has joined the server (95:127.0.0.1)
[11:07:28] [npc:join] PilotLV has joined the server (94:127.0.0.1)
[11:07:28] [npc:join] BusDriverLS has joined the server (93:127.0.0.1)
[11:07:28] [npc:join] BusDriverLV has joined the server (92:127.0.0.1)
INFO
If I use the callback in filterscript, Its working Good inside filterscript the callback could not be used outside filterscript....
if i use timer in filterscript while create NPC, i can use the callback in both filterscript and gamemode
I just don't know its some sort of issue or not, I just Let you know.
If used a Timer in Filterscript to delay the creating the NPC the callback is working Good in Gamemode
[11:13:23] [npc:join] TrainDriverLS has joined the server (99:127.0.0.1)
[11:13:23] The callback is Working Good
[11:13:23] TrainDriverLS NPC ID: 99
[11:13:23] [npc:join] TrainDriverSF has joined the server (98:127.0.0.1)
[11:13:23] The callback is Working Good
[11:13:23] TrainDriverSF NPC ID: 98
[11:13:23] [npc:join] TrainDriverLV has joined the server (97:127.0.0.1)
[11:13:23] The callback is Working Good
[11:13:23] TrainDriverLV NPC ID: 97
[11:13:23] [npc:join] PilotLS has joined the server (96:127.0.0.1)
[11:13:23] The callback is Working Good
[11:13:23] PilotLS NPC ID: 96
[11:13:23] [npc:join] PilotSF has joined the server (95:127.0.0.1)
[11:13:23] The callback is Working Good
[11:13:23] PilotSF NPC ID: 95
[11:13:23] [npc:join] PilotLV has joined the server (94:127.0.0.1)
[11:13:23] The callback is Working Good
[11:13:23] PilotLV NPC ID: 94
[11:13:23] [npc:join] BusDriverLS has joined the server (93:127.0.0.1)
[11:13:23] The callback is Working Good
Callbacks are not called outside the Filterscript while using
FCNPC_OnInit
CODE IN FILTERSCRIPT
CODE IN GAMEMODE
LOG REFERENCE
INFO
If I use the callback in filterscript, Its working Good inside filterscript the callback could not be used outside filterscript....
if i use timer in filterscript while create NPC, i can use the callback in both filterscript and gamemode
I just don't know its some sort of issue or not, I just Let you know.
If used a Timer in Filterscript to delay the creating the NPC the callback is working Good in Gamemode