Jump to content
  • 0

Erori login/register


SeDeX

Question

Nick: SeDeX

Problema: Am scriptat sistemul de login/register si am cateva erori cu care nu ma descurc.

Erori / warnings: erori

Lini/script:

[pawn]343: return 1;

497: nu exista

540: nu exista

558: nu exista

216: {

37: strock UserPah(playerid)

40: GetPlayerName(playerid,playername,sizeof(playername));

42: return string;

110: if(fexist(UserPath(playerid)))

113: INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra - playerid;

114:ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");

125: new INI:File = INI_Open(UserPath(playerid));

304:        if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, ""COL_WHITE"Registering...", ""COL_RED"You have entered an invalid password.\n"COL_WHITE"Type your password below to register a new account.","Register","Quit");[/pawn]

Erorile: D:\Jocuri\Server SA-MP\pawno\include\YSI\y_utils.inc(343) : warning 219: local variable "string" shadows a variable at a preceding level

D:\Jocuri\Server SA-MP\pawno\include\YSI\y_utils.inc(497) : warning 219: local variable "string" shadows a variable at a preceding level

D:\Jocuri\Server SA-MP\pawno\include\YSI\y_utils.inc(540) : warning 219: local variable "string" shadows a variable at a preceding level

D:\Jocuri\Server SA-MP\pawno\include\YSI\y_utils.inc(558) : warning 219: local variable "string" shadows a variable at a preceding level

D:\Jocuri\Server SA-MP\pawno\include\YSI\y_malloc.inc(216) : warning 219: local variable "string" shadows a variable at a preceding level

D:\Jocuri\SMOKED RPG\gamemodes\SCRIPT BA NENE.pwn(37) : error 010: invalid function or declaration

D:\Jocuri\SMOKED RPG\gamemodes\SCRIPT BA NENE.pwn(40) : error 021: symbol already defined: "GetPlayerName"

D:\Jocuri\SMOKED RPG\gamemodes\SCRIPT BA NENE.pwn(42) : error 010: invalid function or declaration

D:\Jocuri\SMOKED RPG\gamemodes\SCRIPT BA NENE.pwn(110) : error 017: undefined symbol "UserPath"

D:\Jocuri\SMOKED RPG\gamemodes\SCRIPT BA NENE.pwn(112) : error 017: undefined symbol "UserPath"

D:\Jocuri\SMOKED RPG\gamemodes\SCRIPT BA NENE.pwn(112) : error 017: undefined symbol "bExtra"

D:\Jocuri\SMOKED RPG\gamemodes\SCRIPT BA NENE.pwn(112) : warning 215: expression has no effect

D:\Jocuri\SMOKED RPG\gamemodes\SCRIPT BA NENE.pwn(112) : error 029: invalid expression, assumed zero

D:\Jocuri\SMOKED RPG\gamemodes\SCRIPT BA NENE.pwn(112) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Ai incercat sa rezolvi singur ?:da

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

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.