OnPlayerLogin - setting of vars
#2

pawn Код:
for(new i; i < _: pInfo; i++) PlayerInfo[playerid][pInfo: i] = 0;
// Change the pInfo with your enum's title.
Example:
pawn Код:
enum LolInfo
{
    Register,
    // Other
    LoggedIn
};
new PlayerInfo[MAX_PLAYERS][LolInfo];
for(new i; i < _: LolInfo; i++) PlayerInfo[playerid][LolInfo: i] = 0;
Reply


Messages In This Thread
OnPlayerConnect - setting of vars - by ThomasTailor93 - 04.10.2013, 14:10
Re: OnPlayerLogin - setting of vars - by Dragonsaurus - 04.10.2013, 14:20
AW: OnPlayerLogin - setting of vars - by ThomasTailor93 - 04.10.2013, 15:01
Re: OnPlayerLogin - setting of vars - by Pottus - 04.10.2013, 15:06
AW: OnPlayerLogin - setting of vars - by ThomasTailor93 - 04.10.2013, 15:42
Re: OnPlayerLogin - setting of vars - by Pottus - 04.10.2013, 15:54

Forum Jump:


Users browsing this thread: 1 Guest(s)