Jump to content

Question

Posted

Salut am acest dialog

[pawn]// Try to loTXT_DialogLoginMad 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 Name, 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

}[/pawn]

definit de

[pawn]// The login dialog

#define TXT_DialogLoginTitle "{0000FF}Romania {FFFF00}Fast {FF0000}Trucking" // Define the title-message on top of the login-dialog

#define TXT_DialogLoginMsg "Salut{FFFF00} %s bine ai venit pe {FF0000}Ro{FFFF00}man{0000FF}ia {00FFFF}Fast {008040}Trucking\n{0000FF}Detinator: Jo[K]3R Owner: pAcZi \n{FFFF00}Forum PGZ.ro/forum \n {FF0000}Nume Gamemod: JPT Trcuking (original) {FFFF00}by Jo[K]3R \n Contact Y/M: dj_vasy1998 Skype: vasy_eu14 \n RFT Va doreste distractie placuta" // Define the actual message in the login-dialog

#define TXT_DialogLoginButton1 "Intra" // Define the text on the "login" button for the login-dialog

#define TXT_LoggedIn "{00FF00}Te-ai locagat bine ai revenit"

#define TXT_WrongPassword "{FF0000}Ati introdus o parola gresita, ai fost dat afara"

#define TXT_LoginEnterValidPassword "Pt a te loga introdu parola"

#define TXT_PlayerMustLogin "{FF0000}Trebuie sa te loghezi pentru a putea juca, ai fost dat afara!"

#define TXT_FailedLoginProperly "{FF0000}Tu nu a reu?it sa se autentifice în mod corespunzator, esti dat afara"[/pawn]

Cum as putea sa fac ca in dialog loginmsg sa fac sa scrie si id si numele si ip

Pentru ca daca scriu in dialog Name in loc de TXT_DialogLoginMsg imi da numele dar daca pun si TXT_DialogLoginMsg si name nu imi mai ia #define TXT_DialogLoginButton1

Ce pot sa fac ?

<a href="http://www.game-state.eu/188.212.105.161:7777/"><img src="http://www.game-state.eu/188.212.105.161:7777/430x73_FFFFFF_FF9900_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>

6 answers to this question

Recommended Posts

Posted

cred ca ai  vorbit si cu blacklife si tia spus ca vrea si el asa ceva da vreau sa imi scrie numele, id si ip

<a href="http://www.game-state.eu/188.212.105.161:7777/"><img src="http://www.game-state.eu/188.212.105.161:7777/430x73_FFFFFF_FF9900_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>

Posted

nimeni :(

<a href="http://www.game-state.eu/188.212.105.161:7777/"><img src="http://www.game-state.eu/188.212.105.161:7777/430x73_FFFFFF_FF9900_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>

Posted

nu

<a href="http://www.game-state.eu/188.212.105.161:7777/"><img src="http://www.game-state.eu/188.212.105.161:7777/430x73_FFFFFF_FF9900_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>

Posted

nu

L-ai ajutat pe prietenul meu si mia spus el cum sa fac multumim!!

Dati TC

<a href="http://www.game-state.eu/188.212.105.161:7777/"><img src="http://www.game-state.eu/188.212.105.161:7777/430x73_FFFFFF_FF9900_000000_000000.png" alt="www.Game-State.eu" style="border-style: none;" /></a>

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.