17.05.2015, 15:09
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;
}