Hook ZCMD commands
#4

Normally, returning 0 in OnPlayerCommandText transfers control of the callback to the next script (unless there's none, in which case the generic "unknown command" message is sent). But I don't know how ZCMD handles this. It might be worth a try to simply return 0 if the player isn't in the right location.
Reply


Messages In This Thread
Hook ZCMD commands - by Jonesy96 - 07.06.2016, 07:35
Re: Hook ZCMD commands - by saffierr - 07.06.2016, 08:56
Re: Hook ZCMD commands - by Jonesy96 - 07.06.2016, 09:15
Re: Hook ZCMD commands - by Vince - 07.06.2016, 09:45
Re: Hook ZCMD commands - by PrO.GameR - 07.06.2016, 12:20
Re: Hook ZCMD commands - by Misiur - 07.06.2016, 12:23

Forum Jump:


Users browsing this thread: 1 Guest(s)