Command problem
#9

Quote:
Originally Posted by AnonScripter
Посмотреть сообщение
OnPlayerLeaveDynamicCP or OnPlayerInteriorChange
then what ? how to script the robbery failed system ? and stop the robbing timer ?
If the player must stay in the checkpoint and then leave it, that means the robbery failed so do your code.

If the player is in an interior such as shop/casino etc (different from interior 0) and then leave the shop the OnPlayerChangeInterior will be called and you can check if it was in robbery and if the new interior is 0. If so, the robbery failed so do your code.
Reply


Messages In This Thread
Command problem - by AnonScripter - 02.10.2013, 00:23
Re: Command problem - by UnknownGamer - 02.10.2013, 00:24
Re: Command problem - by AnonScripter - 02.10.2013, 00:51
Re: Command problem - by xganyx - 02.10.2013, 00:55
Re: Command problem - by AnonScripter - 02.10.2013, 17:19
Re: Command problem - by PaulDinam - 02.10.2013, 17:23
Re: Command problem - by Konstantinos - 02.10.2013, 17:23
Re: Command problem - by AnonScripter - 02.10.2013, 17:43
Re: Command problem - by Konstantinos - 03.10.2013, 09:48

Forum Jump:


Users browsing this thread: 1 Guest(s)