20.04.2012, 12:50
Quote:
Originally Posted by ******;520110[size=5
Specifiers[/size]
The available specifiers (the letters "u", "i" and "s" in the codes above) are below.
Код:
Specifier(s) Name Example values i, d Integer 1, 42, -10 c Character a, o, * l Logical true, false b Binary 01001, 0b1100 h, x Hex 1A, 0x23 o Octal 045 12 n Number 42, 0b010, 0xAC, 045 f Float 0.7, -99.5 g IEEE Float 0.7, -99.5, INFINITY, -INFINITY, NAN, NAN_E u User name/id (bots and players) ******, 0 q Bot name/id ShopBot, 27 r Player name/id ******, 42 |
E.G:
pawn Код:
new UserID, Float:Height;
if( sscanf( params, "uf", UserID, Height ) )