- 0
O mare problema!
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
Freeps
Mod: RPG
Problema: Cand intra pe server un player nu se poate inregistra... Adica ii apare fereasta aia de register si cand isi scrie parola acolo si da "REGISTER" nu merge... Adica nu se inregistreaza ii da la nesfarsit acea casuta de "Register"... Si din cauza asta nu poate intra nimeni pe server... Va rog ajutati`ma ...
Liniile din script:
[pawn]public OnPlayerRequestClass(playerid, classid)
{
HideRXTT(playerid);
new string[128];
PlayerPlaySound(playerid, 1187, 0.0, 0.0, 0.0);
PlayerData[playerid][pModel] = Peds[classid][0];
if (RegistrationStep[playerid] == 0 && gPlayerLogged[playerid] != 1)
{
if (gPlayerAccount[playerid] != 0)
{
new loginstring[256];
new loginname[64];
GetPlayerName(playerid,loginname,sizeof(loginname));
format(loginstring,sizeof(loginstring),"Bine ai venit, %s\nAcest nick este inregistrat, pentru a te juca pe acest server trebuie sa fi logat.\nTe rog logheaza-te:\n\n\nUltimul login: {43D1D1}%s",loginname,PlayerData[playerid][pUltLog]);
ShowPlayerDialog(playerid,12346,DIALOG_STYLE_PASSWORD,"{43D1D1}L{FFFFFF}ogeaza-te",loginstring,"Login","Exit");
}
else
{
gPlayerAccount[playerid] = 0;
new regstring[128];
new regname[64];
GetPlayerName(playerid,regname,sizeof(regname));
format(regstring,sizeof(regstring),"Bine ai venit, %s\nNu ai cont.\nTe rog inregistreaza-te:",regname);
ShowPlayerDialog(playerid,12345,DIALOG_STYLE_PASSWORD,"{43D1D1}I{FFFFFF}nregistreaza-te",regstring,"Register","Exit");
}
PlayerData[playerid][pModel] = Peds[classid][0];
PlayerData[playerid][pChar] = Peds[classid][0];
SetPlayerTeamFromClass(playerid,classid);[/pawn]
Am nevoie de un raspuns cat mai repede!Va rog!
4 answers to this question
Recommended Posts