[Pedido] Tutorial sscanf e zcmd
#1

Vi 2 tutoriais jб, do bruno e do linow, porйm eu gostaria que alguйm me explicasse mesmo,

oque й essas letras, f, d, a, essas letras...

PHP код:
 if(sscanf(params"f"vida)) return SendClientMessage(playerid, -1"Use /setarvida [1-100]."); 
Reply
#2

pawn Код:
//Letra                   //Significado                  //Exemplo
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

//Original Postado Por ******
Reply
#3

i - Numeros inteiros
u - ID
f - float

...

E oque eu sei
Reply
#4

vlw +rep *-*
Reply
#5

Veja o tutorial do nosso amigo BlueX para entender melhor.


https://sampforum.blast.hk/showthread.php?tid=277842
Reply
#6

VLW ae sky.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)