SA-MP Forums Archive
Need Help With Multiple Errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need Help With Multiple Errors (/showthread.php?tid=88414)



Need Help With Multiple Errors - DaRkM - 26.07.2009

I'm creating an account saving system thing. I was getting help from a friend but he stopped teaching me xD.

Here are the errors, most of them are the same thing but just for the different lines.

Quote:

D:\SA Modding\Scripting\gamemodes\test.pwn(111) : error 004: function "ini_GetKey" is not implemented
D:\SA Modding\Scripting\gamemodes\test.pwn(111) : error 033: array must be indexed (variable "keytmp")
D:\SA Modding\Scripting\gamemodes\test.pwn(114) : error 004: function "ini_GetValue" is not implemented
D:\SA Modding\Scripting\gamemodes\test.pwn(114) : error 033: array must be indexed (variable "valtmp")
D:\SA Modding\Scripting\gamemodes\test.pwn(123) : error 004: function "ini_GetKey" is not implemented
D:\SA Modding\Scripting\gamemodes\test.pwn(123) : error 033: array must be indexed (variable "key")
D:\SA Modding\Scripting\gamemodes\test.pwn(124) : error 004: function "ini_GetValue" is not implemented
D:\SA Modding\Scripting\gamemodes\test.pwn(124) : error 033: array must be indexed (variable "val")
D:\SA Modding\Scripting\gamemodes\test.pwn(125) : error 004: function "ini_GetValue" is not implemented
D:\SA Modding\Scripting\gamemodes\test.pwn(125) : error 033: array must be indexed (variable "val")
D:\SA Modding\Scripting\gamemodes\test.pwn(126) : error 004: function "ini_GetValue" is not implemented
D:\SA Modding\Scripting\gamemodes\test.pwn(126) : error 033: array must be indexed (variable "val")
D:\SA Modding\Scripting\gamemodes\test.pwn(127) : error 004: function "ini_GetValue" is not implemented
D:\SA Modding\Scripting\gamemodes\test.pwn(127) : error 033: array must be indexed (variable "val")
D:\SA Modding\Scripting\gamemodes\test.pwn(12 : error 004: function "ini_GetValue" is not implemented
D:\SA Modding\Scripting\gamemodes\test.pwn(12 : error 033: array must be indexed (variable "val")
D:\SA Modding\Scripting\gamemodes\test.pwn(129) : error 004: function "ini_GetValue" is not implemented
D:\SA Modding\Scripting\gamemodes\test.pwn(129) : error 033: array must be indexed (variable "val")
D:\SA Modding\Scripting\gamemodes\test.pwn(130) : error 004: function "ini_GetValue" is not implemented
D:\SA Modding\Scripting\gamemodes\test.pwn(130) : error 033: array must be indexed (variable "val")
D:\SA Modding\Scripting\gamemodes\test.pwn(100) : warning 204: symbol is assigned a value that is never used: "tmp2"
D:\SA Modding\Scripting\gamemodes\test.pwn(30 : warning 203: symbol is never used: "IsNumeric"
D:\SA Modding\Scripting\gamemodes\test.pwn(30 : warning 203: symbol is never used: "ReturnUser"
D:\SA Modding\Scripting\gamemodes\test.pwn(30 : warning 203: symbol is never used: "gPlayerAccount"




Re: Need Help With Multiple Errors - MadeMan - 26.07.2009

Can you show that part of the code where you have these errors?


Re: Need Help With Multiple Errors - DaRkM - 26.07.2009

111:
Код:
keytmp = ini_GetKey( PassData );
114:
Код:
valtmp = ini_GetValue( PassData );
123-130:
Код:
 key = ini_GetKey( Data );
					if( strcmp( key , "Level" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLevel] = strval( val ); }
			  	if( strcmp( key , "AdminLevel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAdmin] = strval( val ); }
	  	    if( strcmp( key , "Registered" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pReg] = strval( val ); }
  	      if( strcmp( key , "Money" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCash] = strval( val ); }
          if( strcmp( key , "Health" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pHealth] = strval( val ); }
          if( strcmp( key , "Armour" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pArmour] = strval( val ); }
          if( strcmp( key , "Model" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pModel] = strval( val ); }
100:
Код:
new tmp2[256];
I don't have a 308 line

EDIT: After looking through the GF gamemode, I noticed that I'm not finished but ive only been able to fix the line 308 errors. I still need help with the others.