- 0
Problema autentificare
-
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
ARTFollow.
Problema intalnita (descriere): Cand intru pe sv de samp , ma pune sa ma inregistrez. Scriu parola si ma pune iar sa ma iregistrez iar si iar si iar .
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul(obligatoriu):
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, %snAcest nick este inregistrat, pentru a te juca pe acest server trebuie sa fi logat.nUltimul login:%snIntrodu parola:",loginname,PlayerData[playerid][pUltLog]); ShowPlayerDialog(playerid,12346,DIALOG_STYLE_PASSWORD,"{1E90FF}L{FFFFFF}ogheaza-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, %snNu ai cont.nTe rog inregistreaza-te!nIntrodu parola:",regname); ShowPlayerDialog(playerid,12345,DIALOG_STYLE_PASSWORD,"{1E90FF}I{FFFFFF}nregistreaza-te",regstring,"Register","Exit"); } PlayerData[playerid][pModel] = Peds[classid][0]; PlayerData[playerid][pChar] = Peds[classid][0]; SetPlayerTeamFromClass(playerid,classid); } format(string, sizeof(string), "~b~ <> ~p~Civil ~b~<>"); GameTextForPlayer(playerid,string,3500,6); SetPlayerTeamFromClass(playerid,classid); SetupPlayerForClassSelection(playerid); return 1; } public SetupPlayerForClassSelection(playerid) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,-1657.5237,1207.6644,13.6719); SetPlayerFacingAngle(playerid,357.6906); SetPlayerCameraPos(playerid, -1657.4678,1211.2292,13.6781); SetPlayerCameraLookAt(playerid,-1657.5237,1207.6644,13.6719);Imagini / Video (optional): -
Edited by ARTFollow.Ati incercat sa rezolvati singur?:Da )X
6 answers to this question
Recommended Posts