26.09.2009, 11:21
Quote:
Originally Posted by FUNExtreme
The includes a_samp and a_npc can not be used togheter so currently the controlling of a npc is only possible in the npc script itself.
CallRemoteFunction won't work either as the npcscripts are not placed inside the filterscripts map. Hope this helps you |
I have included that include in the gamemode and the NPC script, then set a timer in the NPC script which checks if the variable is set to some value, and if it is, it plays the playback (Yes, I have used StartRecordingPlayback in the NPC script, not the gamemode).
I have also set the value of the variable inside the gamemode, so now I'm totally clue-less why this doesn't work, it should, or I'm stupid.
EDIT: I have also tried to define variables in the gamemode and the NPC script, then set a timer and checked if that variable is set to a value...