02.01.2014, 17:55
Quote:
Yeah I do use sscanf. I have a question though, as I am quite new to scripting pawn, when you put "ui" what does that do? I've seen it several times but I don't understand what the "i" or "ui" is. Is "i" integer or something?
|
Specifier(s) | Name | Example values |
b | Binary | 01001, 0b1100 |
c | Character | a, o, * |
f | Float | 0.7, -99.5 |
g | IEEE Float | 0.7, -99.5, INFINITY, -INFINITY, NAN, NAN_E |
h, x | Hex | 1A, 0x23 |
i, d | Integer | 1, 42, -10 |
l | Logical | true, false |
n | Number | 42, 0b010, 0xAC, 045 |
o | Octal | 045 12 |
q | Bot name/id | ShopBot, 27 |
r | Player name/id | ******, 42 |
u | User name/id (bots and players) | ******, 0 |