12.08.2018, 17:21
Tried, seems to work but i have a problem.
I have currently 2 actors, one at LSPD and one at Los Santos Hospital. Each actor should open a different dialog.
Example: LSPD Actor should open Cops Dialog (already scripted) and LS Hospital actor should open cure menu (did this too).
My question is, how to make it? I was thinking to do with OnPlayerKeyStateChange, by using IsPlayerInRangeOfActor, but i don't know how. (I want the dialog should appear when player is near an actor and presses a key).
In short words:
2 actors should open 2 different dialogs, how i can do this with actorid?
I have currently 2 actors, one at LSPD and one at Los Santos Hospital. Each actor should open a different dialog.
Example: LSPD Actor should open Cops Dialog (already scripted) and LS Hospital actor should open cure menu (did this too).
My question is, how to make it? I was thinking to do with OnPlayerKeyStateChange, by using IsPlayerInRangeOfActor, but i don't know how. (I want the dialog should appear when player is near an actor and presses a key).
In short words:
2 actors should open 2 different dialogs, how i can do this with actorid?
