Problems with account saving
#1

Hey, when you sign up in game, your account will be register, but when you log off, you gotta register again
I need help.
Reply
#2

show me your OnPlayerDisconnect
Reply
#3

pawn Код:
}
//==============================================================================
//When Player Disconnects from the server
//==============================================================================
public OnPlayerDisconnect(playerid, reason)
{
    SendDisconnect(playerid, reason);
Reply
#4

show me your enums info please onplayerconnect and dialogreponse of register

I'll fix it right away
Reply
#5

pawn Код:
//==============================================================================
//Enum's
//==============================================================================
enum
{
    CommonRed = 19006, CommonOrange, CommonGreen, CommonBlue, CommonPurple,
    CommonEspiral, CommonBlack, CommonEyes, CommonXadrex, CommonTransparent,
    CommonXRayVision, SquareFormatYellow, SquareFormatOrange, SquareFormatRed,
    SquareFormatBlue, SquareFormatGreen, RayBanGray, RayBanBlue, RayBanPurple,
    RayBanPink, RayBanRed, RayBanOrange, RayBanYellow, RayBanGreen, CircularNormal,
    CircularYellow, CircularRed, CircularBlack, CircularXadrex, CircularThunders,
    CopGlassesBlack = 19138, CopGlassesRed = 19139, CopGlassesBlue = 19140,
};
//------------------------------------------------------------------------------
enum textd
{
    hide, ntag,
};
//------------------------------------------------------------------------------
enum DMEnum
{
    MG1, MG2, MG3, KDM, HP, GDM, JDM, PDM,
};
//------------------------------------------------------------------------------
enum HEnum
{
    Slot, Obj0, Obj1, Obj2, Obj3, Obj4, Obj5, Obj6, Obj7, Obj8, Obj9, Bone,
    Hld0[256], Hld1[256], Hld2[256], Hld3[256], Hld4[256], Hld5[256], Hld6[256],
    Hld7[256], Hld8[256], Hld9[256], HShow,
};
//------------------------------------------------------------------------------
I have the vehicles too but there's too much of them.
Reply
#6

No, give me the enums of your pInfo or PlayerInfo or whatever you put there.

example:

pawn Код:
// Enums
enum PlayerData
{
    Registered,
    LoggedIn,
    Level,
    Helper,
    Tag,
    dRank,
    Muted,
    Caps,
    Jailed,
    JailTime,
    Frozen,
    FreezeTime,
    Kills,
    Deaths,
    hours,
    mins,
    secs,
    TotalTime,
    ConnectTime,
    MuteWarnings,
    Warnings,
    Spawned,
    TimesSpawned,
    God,
    GodCar,
    DoorsLocked,
    SpamCount,
    SpamTime,
    PingCount,
    PingTime,
    BotPing,
    blip,
    blipS,
    pPing[PING_MAX_EXCEEDS],
    pColour,
    pCar,
    SpecID,
    SpecType,
    OnDuty,
    bool:AllowedIn,
    FailLogin,
    Prestige1,
    Prestige2
};
new PlayerInfo[MAX_PLAYERS][PlayerData];
Reply
#7

I don't have them, I think that's the problem :S I can't find them
Reply
#8

Yes, that's the problem.

do you have the register dialogs,yet ?

I'll give you a basic register/login saving system,alright ?
Reply
#9

Yeah sure but I'm kinda new at this and I kinda need help how to put it on, thank you.
Reply
#10

http://pastebin.com/XKTAtgzq

I've put little admin system for you, for pAdmin enums example.

Enjoy learning .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)