Quote:
Originally Posted by Jefff
pawn Код:
if(!dini_Exists(path)) // if account doesn't exist { gPlayerAccount[playerid] = 1; DisplayDialogForPlayer(playerid, 1); // you show login dialog ? wth SendClientMessage(playerid, -1, "This server may use explicit content. By playing here you agree with our COPPA Compliance."); return 1; } else // account exists { gPlayerAccount[playerid] = 0; DisplayDialogForPlayer(playerid, 2); // you show register dialog ? wth SendClientMessage(playerid, -1, "This server may use explicit content. By playing here you agree with our COPPA Compliance."); return 1; }
|
@Jeff: "gPlayerAccount[playerid] = 0;" is the case for the players who do not have an account.
@Smileys: The "tmppass" is defined above.