SA-MP Forums Archive
[Pedido] Sistema De Registro/Login - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Pedido] Sistema De Registro/Login (/showthread.php?tid=493557)



Sistema De Registro/Login - ces123 - 08.02.2014






Obs:Esse Nao Й Meu GameMode!!


Eu baixei o gamemode BRASIL TRUCKER LIFE na net,ai eu mudei o nome do server e dos donos tudo certinho,so que quando eu abro o server aparece o sistema de registro e em cima dela ta o nome do server antigo igual o da imagem,como eu troco o nome do server que tem no sistema de registro?



Obrigado Quem Responde!!!!!!


Re: Sistema De Registro/Login - Bruno13 - 09.02.2014

Esse nome estб separado por cores, ou seja й como se estivesse assim:
pawn Код:
{FFFF00}Brasil{FF0000}Play...
//"{FFFF00}" = Cor Amarela
//"{FF0000}" = Cor Vermelha
No formato do Dialog, o nome do mesmo estб separado em cores, entгo tente procurar por "}Brasil", ou algo assim, pois as cores podem nгo ser exatamente essas ai...


Re: Sistema De Registro/Login - Farley - 09.02.2014

procure por Play ou Script ou Login que vocк vai achar. eu ja baixei essa GM uma vez.


Re: Sistema De Registro/Login - Schocc - 09.02.2014

Mas pelo menos mantenha os crйditos. kk


Re: Sistema De Registro/Login - yNexus - 09.02.2014

Vixi
Quote:

mudei o nome do server e dos donos

procura pelo dialog de Login/registro e la vocк modifica .


Respuesta: Sistema De Registro/Login - ces123 - 09.02.2014

vlw gente mais o meu gamemode nao й esse й o do brasil trucker life e ele ta escrito todo verde


Respuesta: Sistema De Registro/Login - ces123 - 09.02.2014

PlayAudioStreamForPlayer(playerid, "http://184.82.14.162:9358/");
// Always allow NPC's to login without password or account
if (IsPlayerNPC(playerid))
return 1;

// Setup local variables
new Name[MAX_PLAYER_NAME], NewPlayerMsg[128], HouseID;


// Setup a PVar to allow cross-script money-transfers (only from filterscript to this mainscript) and scorepoints
SetPVarInt(playerid, "PVarMoney", 0);
SetPVarInt(playerid, "PVarScore", 0);

// Get the playername
GetPlayerName(playerid, Name, sizeof(Name));
// Also store this name for the player
GetPlayerName(playerid, APlayerData[playerid][PlayerName], 24);

// Send a message to all players to let them know somebody else joined the server
format(NewPlayerMsg, 128, TXT_PlayerJoinedServer, Name, playerid);
SendClientMessageToAll(0xFFFFFFFF, NewPlayerMsg);

// Try to load the player's datafile ("PlayerFile_Load" returns "1" is the file has been read, "0" when the file cannot be read)
if (PlayerFile_Load(playerid) == 1)
{
// Check if the player is still banned
if (APlayerData[playerid][BanTime] < gettime()) // Player ban-time is passed
ShowPlayerDialog(playerid, DialogLogin, DIALOG_STYLE_PASSWORD, TXT_DialogLoginTitle, TXT_DialogLoginMsg, TXT_DialogLoginButton1, TXT_DialogButtonCancel);
else // Player is still banned
{
ShowRemainingBanTime(playerid); // Show the remaining ban-time to the player is days, hours, minutes, seconds
Kick(playerid); // Kick the player
}
}
else
ShowPlayerDialog(playerid, DialogRegister, DIALOG_STYLE_PASSWORD, TXT_DialogRegisterTitle, TXT_DialogRegisterMsg, TXT_DialogRegisterButton1, TXT_DialogButtonCancel);

// The houses have been loaded but not the cars, so load all vehicles assigned to the player's houses
for (new HouseSlot; HouseSlot < MAX_HOUSESPERPLAYER; HouseSlot++)
{
// Get the HouseID from this slot
HouseID = APlayerData[playerid][Houses][HouseSlot];
// Check if there is a house in this slot
if (HouseID != 0)
HouseFile_Load(HouseID, true); // Load the cars of the house
}

// Speedometer setup
Speedometer_Setup(playerid);

// MissionText TextDraw setup
APlayerData[playerid][MissionText] = TextDrawCreate(320.0, 430.0, "2"); // Setup the missiontext at the bottom of the screen
TextDrawAlignment(APlayerData[playerid][MissionText], 2); // Align the missiontext to the center
TextDrawBackgroundColor(APlayerData[playerid][MissionText], 255);
TextDrawFont(APlayerData[playerid][MissionText], 3);
TextDrawLetterSize(APlayerData[playerid][MissionText], 0.390000, 1.300000);
TextDrawSetOutline(APlayerData[playerid][MissionText], 1);
TextDrawSetProportional(APlayerData[playerid][MissionText], 1);


// Display a message if the player hasn't accepted the rules yet
if (APlayerData[playerid][RulesRead] == false)
SendClientMessage(playerid, 0xFFFFFFFF, "{ADFF2F}Confira as Regras do Brasil Caminhoneiro - v1.0 em {00FFFF}/regras{ADFF2F} e Aceite-as!");
return 1;
}




YNexus eu achei isso aqui!!!