sscanf to sscanf2
#1

how do i change from sscanf to sscanf2?
Reply
#2

Remove the sscanf stock from your script, download sscanf2, include sscanf2, run the sscanf2 plugin, done.
Reply
#3

you've lost me, what to you mean stock?
Reply
#4

#include <sscanf2> when u have it downloaded
Reply
#5

i have compiled my GM with the inclued <sscanf2> and its in my includes folder but wen i start my server it says file or function not found
Reply
#6

You need to load the plugin.
Reply
#7

am getting an
Код:
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
  Loaded 34 vehicles
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
  Loaded 5 dealerships
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
sscanf warning: Unenclosed specifier parameters are deprecated, consider using s
omething like p<,>.
  Loaded 3 fuel stations

----------------------------------
 Registration System is loaded 100% :P
----------------------------------

Number of vehicle models: 38

 ==========================================
 |                                        |
 |  A new version (v3.09.0684) of YSI is  |
 |            available from:             |
 |                                        |
 |     www.y-less.com/YSI/YSI_1.0.zip     |
 |                                        |
 | Changelog:                             |
 |                                        |
 |   3.00.0000:                           |
 |                                        |
 |   YSI 3.0 released!  Now includes the  |
 | "y_text" library for better messages,  |
 | and a reworked "y_classes" library.    |
 | Largely documented here                |
 | "http://forum.sa-mp.com/showthread.php |
 | ?t=321092".                            |
 |                                        |
 |   3.01.0002:                           |
 |                                        |
 |   Small fixes to "y_text" and          |
 | "y_classes".                           |
 |                                        |
 |   3.09.0684:                           |
 |                                        |
 |   Reverted to old download location.   |
 | Improved (and fixed) version checks;   |
 | added y_bitmap, y_areas, y_races,      |
 | y_zonenames, better documentation;     |
 | MANY other bug fixes - see the github  |
 | repository for more details:           |
 |                                        |
 ==========================================
Reply
#8

The previous version of sscanf had "p" to change the symbol used to separate tokens. This specifier still exists but it has been formalised to match the array and enum syntax. What was previously:
pawn Код:
sscanf("1,2,3", "p,iii", var0, var1, var2);

Is now:

pawn Код:
sscanf("1,2,3", "p<,>iii", var0, var1, var2);
Credits goes to ****** for providing this information.
Reply
#9

so i would change sscanf(line[s], "p,ffff", to sscanf(line[s], "p<,>ffff", for every thing in my gm?
Reply
#10

? anyone
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)