Posts: 591
Threads: 150
Joined: Sep 2013
Reputation:
0
How to make the command fails if the player left the interior ??
Posts: 676
Threads: 62
Joined: May 2013
Reputation:
0
Explain littile bit more?... I can't understand you....
Posts: 591
Threads: 150
Joined: Sep 2013
Reputation:
0
no i mean how to make the robbery fails when the player leaves the interior
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
In OnPlayerChangeInterior check if the player's robbery was in progress and do you code to stop it.
DanDRT, do not use OnPlayerUpdate for that. There's already a callback that is called whenever a player changes interior.
Posts: 591
Threads: 150
Joined: Sep 2013
Reputation:
0
i want something like:
when the player leaves the interior, SendClientMessage "Robbery Failed! you have left the casino"
so that will force him to stay in the casino to complete the robbery
Posts: 591
Threads: 150
Joined: Sep 2013
Reputation:
0
OnPlayerChangeInterior is undefined symbol