SA-MP Forums Archive
BUD help - 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: BUD help (/showthread.php?tid=444313)



BUD help - DAVIDXP - 16.06.2013

Hi SA-MP.com, yesterday I created a simple Login/Register system , i tested it today, all working perfecttly, but when i leaved from game in console was:
pawn Код:
BUD - Error: The number of type definitions doesn't match the number of entries passed to BUD::MultiGet; typedefs: 2, entries: 4.
And the linie:
pawn Код:
public OnPlayerDisconnect( playerid, reason )
{
    new
        iUID = BUD::GetNameUID( GetName( playerid ) )
    ;
    BUD::MultiSet( iUID, "iifi",
         SetPVarInt( playerid, "Money"),
         SetPVarInt( playerid, "Score"),
         SetPVarInt( playerid, "Health"),
         SetPVarInt( playerid, "Coins")
    );
    return 1;
}
Can you help me pleasE?


Re: BUD help - Rock - 16.06.2013

That's not the correct way to use MultiSet!
Read THIS PART of my tutorial to see how you should do it.


Re: BUD help - DAVIDXP - 16.06.2013

Quote:
Originally Posted by Rock
Посмотреть сообщение
That's not the correct way to use MultiSet!
Read THIS PART of my tutorial to see how you should do it.
Mersi Rock
thx