[Include] rCmd.inc - Easiest way to create commands!
#97

I'm sorry for a third post in row, but it's to announce that I finally released the awesome version of rCmd! sscanf plugin is fully integrated now (which means you can now use optional parameters, and all other features of sscanf). Please make sure you read the Syntax part again, it's very important!
Quote:
Originally Posted by RyDeR`
View Post
Changelog
  • 06/01/2013 - v0.2.0:
    • Rewrote the whole include, as well as DynamicParams.inc. I found some critical bugs that made this include completely worthless, but I'm sure it's completely fixed now and is %100 to use.
    • sscanf plugin is fully integrated now and automatically makes use of all features of the sscanf plugin.
    • Just make sure you read "Syntax" part of the topic again as there are some important things to note:
      Quote:
      Syntax

      Code:
      rCmd["specifiers"]->commandname(playerid, success, ...)
      NEW (IMPORTANT NOTES):
      • You can use all sscanf specifiers in the specifiers input, yes, literally whole sscanf.
      • Note the quotes around specifiers in this new version. It's not necessary, but when you use brackets for optional parameters, it will give you errors without the quotes.
      • You have to use & in front of all non-array variables (floats, integers, ..., NOT playerid and success) because DynamicParams.inc is passes the address of the value. If you skip this, the value of the integer/float will be wrong. Example:
        Code:
        rCmd["us[24]"]->setname(playerid, success, &targetid, name[]) {
        	// ...
        	return 1;
        }
Reply


Messages In This Thread
rCmd.inc - Easiest way to create commands! [NEW v0.2.0 ─ 6/01/2013] - by RyDeR` - 06.03.2012, 22:24
Re: rCmd.inc - Easiest way to create commands! - by Kar - 06.03.2012, 22:37
Respuesta: rCmd.inc - Easiest way to create commands! - by admantis - 06.03.2012, 23:18
Re: rCmd.inc - Easiest way to create commands! - by Ballu Miaa - 07.03.2012, 06:29
Re: rCmd.inc - Easiest way to create commands! - by Michael@Belgium - 07.03.2012, 06:30
Re: rCmd.inc - Easiest way to create commands! - by tyler12 - 07.03.2012, 06:36
Respuesta: rCmd.inc - Easiest way to create commands! - by Jovanny - 07.03.2012, 06:38
Re: rCmd.inc - Easiest way to create commands! - by Lorenc_ - 07.03.2012, 06:54
Re: rCmd.inc - Easiest way to create commands! - by Jack_Wilson - 07.03.2012, 06:58
Re: rCmd.inc - Easiest way to create commands! - by Stylock - 07.03.2012, 09:12
Re: rCmd.inc - Easiest way to create commands! - by System64 - 07.03.2012, 09:21
Re: rCmd.inc - Easiest way to create commands! - by CyNiC - 07.03.2012, 10:41
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 07.03.2012, 11:05
Re: rCmd.inc - Easiest way to create commands! - by Calgon - 07.03.2012, 11:08
Re: rCmd.inc - Easiest way to create commands! - by Shadow_ - 07.03.2012, 11:32
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 07.03.2012, 18:39
Re: rCmd.inc - Easiest way to create commands! - by Modrlicc - 07.03.2012, 21:07
Re: rCmd.inc - Easiest way to create commands! - by Modrlicc - 07.03.2012, 21:15
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 08.03.2012, 13:57
Respuesta: rCmd.inc - Easiest way to create commands! - by [DOG]irinel1996 - 08.03.2012, 14:02
Re: rCmd.inc - Easiest way to create commands! - by Ricop522 - 08.03.2012, 14:09
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 09.03.2012, 20:04
Re: rCmd.inc - Easiest way to create commands! - by TheArcher - 09.03.2012, 20:23
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 09.03.2012, 21:08
Re: rCmd.inc - Easiest way to create commands! - by Stylock - 09.03.2012, 22:30
Re: rCmd.inc - Easiest way to create commands! - by vpontin - 09.04.2012, 15:33
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 10.04.2012, 22:20
Re: rCmd.inc - Easiest way to create commands! - by DonWade - 10.04.2012, 22:36
Re: rCmd.inc - Easiest way to create commands! - by Juninho_Oakley - 10.04.2012, 22:49
Re: rCmd.inc - Easiest way to create commands! - by Armyw0w - 11.04.2012, 07:49
Re: rCmd.inc - Easiest way to create commands! - by sniperwars - 11.04.2012, 08:04
Re: rCmd.inc - Easiest way to create commands! - by paulor - 12.04.2012, 18:52
Re: rCmd.inc - Easiest way to create commands! - by VendenTTa - 12.04.2012, 20:14
Re: rCmd.inc - Easiest way to create commands! - by vpontin - 13.04.2012, 01:57
Re: rCmd.inc - Easiest way to create commands! - by MrDeath537 - 13.04.2012, 10:52
Re: rCmd.inc - Easiest way to create commands! - by dPlaYer_ - 13.04.2012, 16:51
Re: rCmd.inc - Easiest way to create commands! - by Biesmen - 18.04.2012, 07:12
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 21.04.2012, 10:12
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 21.04.2012, 12:17
Re: rCmd.inc - Easiest way to create commands! - by StreetGT - 21.04.2012, 12:40
Re: rCmd.inc - Easiest way to create commands! - by Ainseri - 21.04.2012, 14:24
Re: rCmd.inc - Easiest way to create commands! - by RoacH` - 21.04.2012, 14:44
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 21.04.2012, 15:02
Re: rCmd.inc - Easiest way to create commands! - by Ainseri - 21.04.2012, 15:11
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 21.04.2012, 21:06
Re: rCmd.inc - Easiest way to create commands! - by Ainseri - 21.04.2012, 21:27
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 21.04.2012, 21:45
Re: rCmd.inc - Easiest way to create commands! - by Hiddos - 21.04.2012, 21:49
Re: rCmd.inc - Easiest way to create commands! - by Ainseri - 21.04.2012, 21:52
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 22.04.2012, 13:51
Re: rCmd.inc - Easiest way to create commands! - by niels44 - 22.04.2012, 20:54
Re : rCmd.inc - Easiest way to create commands! - by Naruto_Emilio - 22.04.2012, 21:40
Re: rCmd.inc - Easiest way to create commands! - by Britas - 23.04.2012, 08:02
Re: rCmd.inc - Easiest way to create commands! - by SeoToX - 23.04.2012, 13:19
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 23.04.2012, 21:15
Re: rCmd.inc - Easiest way to create commands! - by Jason` - 24.04.2012, 03:20
Re: rCmd.inc - Easiest way to create commands! - by Ainseri - 24.04.2012, 14:50
Re: rCmd.inc - Easiest way to create commands! - by niels44 - 24.04.2012, 17:55
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 24.04.2012, 18:59
Re: rCmd.inc - Easiest way to create commands! - by SampLoverNo123 - 25.04.2012, 05:08
Respuesta: rCmd.inc - Easiest way to create commands! - by vampirmd - 25.04.2012, 05:14
Re: rCmd.inc - Easiest way to create commands! - by Biesmen - 25.04.2012, 07:25
Re: rCmd.inc - Easiest way to create commands! - by niels44 - 25.04.2012, 18:46
Re: rCmd.inc - Easiest way to create commands! - by zSuYaNw - 25.04.2012, 20:33
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 25.04.2012, 21:04
Re: rCmd.inc - Easiest way to create commands! - by niels44 - 26.04.2012, 17:28
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 26.04.2012, 17:57
Re: rCmd.inc - Easiest way to create commands! - by niels44 - 26.04.2012, 18:39
Re: rCmd.inc - Easiest way to create commands! - by raider19rus - 27.04.2012, 11:12
Re: rCmd.inc - Easiest way to create commands! - by Rudy_ - 27.04.2012, 13:40
Re: rCmd.inc - Easiest way to create commands! - by iCMDX - 28.04.2012, 17:38
Re: rCmd.inc - Easiest way to create commands! - by Dragony92 - 28.04.2012, 18:42
Re: rCmd.inc - Easiest way to create commands! - by Arnold_Collins - 28.04.2012, 20:03
Re: rCmd.inc - Easiest way to create commands! - by Hiddos - 02.05.2012, 16:56
Re: rCmd.inc - Easiest way to create commands! - by Mr.R - 08.05.2012, 09:37
Re: rCmd.inc - Easiest way to create commands! - by iggy1 - 09.05.2012, 09:26
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 17.05.2012, 08:46
AW: rCmd.inc - Easiest way to create commands! - by Dominik. - 28.05.2012, 15:42
Respuesta: rCmd.inc - Easiest way to create commands! - by Gryphus One - 02.06.2012, 18:05
Re: Respuesta: rCmd.inc - Easiest way to create commands! - by TheRoss - 07.06.2012, 16:18
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 16.06.2012, 15:58
Re: rCmd.inc - Easiest way to create commands! - by Kiwar_El - 16.06.2012, 16:06
Respuesta: rCmd.inc - Easiest way to create commands! - by Gryphus One - 16.06.2012, 16:12
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 16.06.2012, 16:23
Re: rCmd.inc - Easiest way to create commands! - by Jonny5 - 16.06.2012, 16:32
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 16.06.2012, 16:36
Re: rCmd.inc - Easiest way to create commands! - by TheRoss - 16.06.2012, 17:43
Re: rCmd.inc - Easiest way to create commands! - by Niko_boy - 16.06.2012, 18:09
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 16.06.2012, 18:52
Re: rCmd.inc - Easiest way to create commands! - by TheRoss - 16.06.2012, 19:11
Re: rCmd.inc - Easiest way to create commands! - by Hiddos - 13.08.2012, 08:37
Re: rCmd.inc - Easiest way to create commands! - by Erdbeerpudding - 14.10.2012, 12:09
Re: rCmd.inc - Easiest way to create commands! - by Plovix - 22.10.2012, 16:18
AW: rCmd.inc - Easiest way to create commands! - by Logan_Adams - 03.01.2013, 20:50
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 04.01.2013, 17:42
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 05.01.2013, 15:26
Re: rCmd.inc - Easiest way to create commands! [NEW v0.2.0 ─ 6/01/2013] - by RyDeR` - 05.01.2013, 22:24
Re: rCmd.inc - Easiest way to create commands! - by vMapper - 06.01.2013, 04:09
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 06.01.2013, 09:04
Re: rCmd.inc - Easiest way to create commands! - by Logan_Adams - 08.01.2013, 12:43
Re: rCmd.inc - Easiest way to create commands! - by SiDiCeR - 02.02.2013, 21:02
Re: rCmd.inc - Easiest way to create commands! - by Biesmen - 03.02.2013, 08:56
Re: rCmd.inc - Easiest way to create commands! - by Biesmen - 03.02.2013, 10:40
Re: rCmd.inc - Easiest way to create commands! - by SiDiCeR - 03.02.2013, 11:47
Re: rCmd.inc - Easiest way to create commands! - by Hiddos - 17.02.2013, 10:39
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 06.07.2013, 15:38
Re: rCmd.inc - Easiest way to create commands! - by SsHady - 06.07.2013, 16:19
Re: rCmd.inc - Easiest way to create commands! - by Salim_Karaja - 06.07.2013, 18:12
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 06.07.2013, 18:25
Re: rCmd.inc - Easiest way to create commands! - by Imperealist - 26.07.2013, 19:00
Re: rCmd.inc - Easiest way to create commands! - by RyDeR` - 27.07.2013, 07:02
Re: rCmd.inc - Easiest way to create commands! - by KingServerIRAN - 08.07.2015, 12:30

Forum Jump:


Users browsing this thread: 1 Guest(s)