SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 03/02/2013, 10:40 AM   #161
Biesmen
High-roller
 
Biesmen's Avatar
 
Join Date: May 2009
Location: The Netherlands
Posts: 1,341
Reputation: 119
Default Re: rCmd.inc - Easiest way to create commands!

Quote:
Originally Posted by RyDeR` View Post
That's a feature of sscanf. It's used to use optional parameters. So, for example "I(500)", when your command text doesn't include a value, it will automatically use the value given between the brackets.
Ooh that's nice! Thanks!
Biesmen is offline   Reply With Quote
Old 03/02/2013, 11:47 AM   #162
SiDiCeR
Little Clucker
 
SiDiCeR's Avatar
 
Join Date: Jun 2010
Location: Vilnius, Lithuania
Posts: 18
Reputation: 1
Default Re: rCmd.inc - Easiest way to create commands!

Quote:
Originally Posted by RyDeR` View Post
I know it's not a good way, but I'll make a macro to make it easier, check the topic sometimes, I'll do it soon.
Thank you for your answer and I surely will do that!
SiDiCeR is offline   Reply With Quote
Old 17/02/2013, 10:39 AM   #163
Hiddos
High-roller
 
Hiddos's Avatar
 
Join Date: Sep 2008
Posts: 3,748
Reputation: 1335
Default Re: rCmd.inc - Easiest way to create commands!

So rCmd now supports optional parameters as well? That's just awesome!
__________________
i am fishstick
Hiddos is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] [FS] IntroZones - The Easiest way to create gang zones. Version 1.0 introzen Filterscripts 64 15/09/2012 01:21 PM
How to create more commands in one fs wumpyc Scripting Help 9 29/09/2011 01:57 PM
How to create commands /myrank Noredine Help Archive 31 25/03/2010 09:13 AM
rcmd, like dcmd but for rcon commands! Daren_Jacobson Help Archive 4 02/03/2009 09:02 PM


All times are GMT. The time now is 02:50 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.