SA-MP Forums Archive
A little help with mysql - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: A little help with mysql (/showthread.php?tid=295293)



A little help with mysql - Ricop522 - 05.11.2011

I don't know WHAT to do with my array (vTuning) in sscanf and the bool.
Anyone can help-me to do that ?
+rep thanks

pawn Код:
enum vInfo
{
    vId,
    vDono[25],
    vModelo,
    Float:vPos[4],
    vCor1,
    vCor2,
    vTuning[13],
    vTrancado,

    vPlaca,
    vAlarme,
    vImmobiliser,
    vInsurances,

    vFactionID,
    bool:Faction,

}


sscanf(Query, "p<|>e<is[25]iffffii>", vehicleInfo[veiculoid]); // [ ID, DONO, MODELO, POS X, POS Y, POS Z, POS A, COR1, COR2 ]