Jump to content
  • 0

BUD help


SpriTe_

Question

Salut SA-Mp.ro, de cand am invat BUD, incerc sa fac un sistem de LOGIN si REGISTER, deci l-a finisat 0warns/0errors , si l-am testat totul merge perfect, dar cand am iesit de la test, am vazut asta in consola:

[pawn]

BUD - Error: The number of type definitions doesn't match the number of entries passed to BUD::MultiGet; typedefs: 2, entries: 4.

[/pawn]

Iata llinia care-mi da eroarea:

[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;

}

[/pawn]

Can you help me pleasE?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Problema nu este de la BUD::MultiSet ci de la BUD::MultiGet.Posteaza toata partea care contine BUD::MultiGet.

Insfarsit cineva a raspuns :))

N-am fost atent:

[pawn]

BUD::MultiGet( iUID, "iifi",

"Money", Money,

"Score", Score,

"Health", Health,

"Coins", Coins

);

[/pawn]

Link to comment
Share on other sites

Nu inteleg.Tot ce mi-ai dat tu, este facut corect.

Pai asta zic si eu, e facut corect, am verificat tot, m-am uitat si in touturialu lui Rock si am verificat .. :-??

Iata enum-ul:

enum Log_Reg

{

spr_TRY,

spr_CASH,

spr_SCORE,

spr_COINS,

spr_HEALTH

}

new

SPR_DATA[ MAX_PLAYERS ][ Log_Reg ]

;

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.