SA-MP Forums

Go Back   SA-MP Forums > Other > Everything and Nothing

Reply
 
Thread Tools Display Modes
Old 07/09/2011, 10:24 AM   #11
Sasino97
High-roller
 
Sasino97's Avatar
 
Join Date: Dec 2010
Location: Italy
Posts: 1,423
Reputation: 120
Default Re: Includes x plugins

I didn't say that strtok is faster, I say that I use strtok because I'm used to it.
__________________
Desktop, Web, Mobile and Game Developer
  • SA-MP Game Modes and Filter Scripts (PAWN, SQL) (8 years experience)
  • Windows .NET Applications (WPF, UWP)
  • Android Applications (Java Android SDK, Xamarin)
  • Web Design and Development (Wordpress, ASP.NET MVC, PHP, SQL)
  • Game Development (Unity3D, GameMaker Studio, LibGDX)
sasinosoft@gmail.com
Use this email - don't PM
Sasino97 is offline   Reply With Quote
Old 07/09/2011, 08:16 PM   #12
Babul
High-roller
 
Babul's Avatar
 
Join Date: Sep 2009
Location: in a cement block
Posts: 1,846
Reputation: 251
Default Re: Includes x plugins

i got used to sscanf2 pretty fast, never liked strtok really. when moving from sscanf (include) to sscanf2 (plugin), i recognized the speed increasement when importing filterscripts (object maps) - with just 1 simple line:
Code:
if(sscanf(Val,"p<,>'ect('dffffffs[64]",sID,sPosX,sPosY,sPosZ,sRotX,sRotY,sRotZ,rest))
due to the easy searching for 'ect' it can handle CreateObj'ect' or CreatedynamicObj'ect', any variant. i guess it would take 9 strtok's w/o sscanf?
sscanf2 ftw
__________________
FireWorks

new sscanf2 custom specifiers available for Download, read the Release Topic
Babul 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
plugins geerdinho8 Server Support 0 17/07/2011 02:26 AM
Having problem with Plugins and Includes. Harry_Sandhu Server Support 4 07/07/2011 03:33 PM
Plugins Mattjones17 Help Archive 5 02/09/2009 05:25 PM
Where to put plugins [HELP] JoshTheBoss Help Archive 5 02/06/2009 06:25 PM


All times are GMT. The time now is 08:52 PM.


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