14.12.2010, 15:01
Possible to use dcmd, zcmd and strmp all in one script? I mean, can I use all of them in one in my script. Somce cmds with zcmd, some with dcmd etc. There wont be any errors? Please tell me!
|
You can combine dcmd+strcmp but not with ZCMD
Why? Well ZCMD do not call on player command text |
#undef OnPlayerCommandText
#define OnPlayerCommandText OnPlayerCommandReceived
|
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.
|
but zcmd needs a public declaration which adds a little bit to the file sizepublic OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
}