Author Topic: Re: Scripting Processor  (Read 195 times)

greentarch

  • Global Moderator
  • Newbie
  • ********
  • Posts: 16
  • Reputation: 0
    • View Profile
Re: Scripting Processor
« on: April 21, 2013, 09:11:22 pm »

Share on Bluesky Share on Facebook


greentarch

  • Global Moderator
  • Newbie
  • ********
  • Posts: 16
  • Reputation: 0
    • View Profile
Re: Scripting Processor
« Reply #1 on: April 21, 2013, 10:19:45 pm »
Actually, dcmd isn't "One of the fastest command processor", but YCMD is.
rCMD is faster than dcmd IMO, so do LifeCMD.
p.s : The title should be Command Processors, not Scripting Processor.

Additions :
ThreadedCMD -> http://forum.sa-mp.com/showthread.php?t=394160
gcmd -> http://forum.sa-mp.com/showthread.php?t=77309
ycmd (not the one by Y_Less, it's by YmOn) -> http://forum.sa-mp.com/showthread.php?t=157228

greentarch

  • Global Moderator
  • Newbie
  • ********
  • Posts: 16
  • Reputation: 0
    • View Profile
Re: Command Processor
« Reply #2 on: April 22, 2013, 06:21:25 pm »
Hey. I ran some speed-test which is
"zcmd" versus "Romanius Command Engine" and found out that Romanius's CMD engine is faster.
For anyone interested, it's syntax are like this :
Code: [Select]
PCMD:me( playerid, params[ ], pc ) // pc = param count
{
    if ( !pc ) // No params
    {
        SendClientMessage( playerid, -1, "/me action" );
        return 1;
    }

    new str[ 128 ], name[ 24 ]; GetPlayerName( playerid, name, 24 );
    format( str, sizeof str, "* %s %s", name, params );
    SendClientMessageToAll( -1, str );
    return 1;
}
PCMD:hello works with ~> /HELLO, /hElLo which means it's not case-sensitive.
I'm using Romanius CMD system at my gamemode and haven't found any problems yet.
This is just a suggestion :)

greentarch

  • Global Moderator
  • Newbie
  • ********
  • Posts: 16
  • Reputation: 0
    • View Profile