OnRecordingPlaybackEnd in gamemode
#1

Hi guys,

is it possible somehow check when NPC done his recording playback in gamemode? Because then, I must remove player from vehicle, SetPlayerPos, show dialog and etc.


Thanks.
Reply
#2

You can try combine PlayerVariables and OnPlayerUpdate callback. There is for sure better way to solve your problem but only this came to my mind.
Reply
#3

Hm, I need without using OnPlayerUpdate.
Reply
#4

I was under the impression that NPC scripts supported CallRemoteFunction, but apparently they don't. SendCommand might work though. Just add IsPlayerNPC check in your gamemode for that command and call functions as desired.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)