POSSIBLE?
#8

Quote:
Originally Posted by DRIFT_HUNTER
Посмотреть сообщение
You can combine dcmd+strcmp but not with ZCMD
Why?
Well ZCMD do not call on player command text
zcmd supports the public OnPlayerCommandReceived which is exactly the same

just add under #include <zcmd>

pawn Код:
#undef OnPlayerCommandText
#define OnPlayerCommandText OnPlayerCommandReceived
and you could use OnPlayerCommandText like normal since the OnPlayerCommandText define would call zcmd_OnPlayerCommandText which gets never called...

Quote:
Originally Posted by CrucixTM
Посмотреть сообщение
ZCMD is a lot faster than both dcmd and strcmp. I suggest you just change them, it'll be worth it in the long run.
Only true if you have more than ~5 commands but zcmd needs a public declaration which adds a little bit to the file size

To the topic: Yes its possible but its easy to convert the commands to zcmd (I suggest that)
Reply


Messages In This Thread
POSSIBLE? - by NuggaN_ - 14.12.2010, 15:01
Re: POSSIBLE? - by jonnyboy - 14.12.2010, 15:02
Re: POSSIBLE? - by NuggaN_ - 14.12.2010, 15:04
Re: POSSIBLE? - by Mehtab - 14.12.2010, 15:08
Re: POSSIBLE? - by NuggaN_ - 14.12.2010, 15:34
Re: POSSIBLE? - by DRIFT_HUNTER - 14.12.2010, 16:01
Re: POSSIBLE? - by CrucixTM - 14.12.2010, 16:07
Re: POSSIBLE? - by Nero_3D - 14.12.2010, 16:52
Re: POSSIBLE? - by XePloiT - 14.12.2010, 16:56

Forum Jump:


Users browsing this thread: 1 Guest(s)