error 017: undefined symbol
#1

error 017: undefined symbol "UpdateConfig"

error 017: undefined symbol "SavePlayer"

error 017: undefined symbol "DestroyAllMenus"

error 017: undefined symbol "SavePlayer"

error 017: undefined symbol "SavePlayer"

error 017: undefined symbol "PlayerName2"

error 017: undefined symbol "PlayerName2"

error 017: undefined symbol "PlayerName2"

error 017: undefined symbol "VBanCheck"

error 017: undefined symbol "SaveToFile"

error 017: undefined symbol "SaveToFile"

error 017: undefined symbol "SavePlayer"

error 017: undefined symbol "PlayerName2"

error 017: undefined symbol "PlayerName2"

error 017: undefined symbol "CarDeleter"

error 017: undefined symbol "AdvanceSpectate"


error 017: undefined symbol "GetName"

error 017: undefined symbol "GetName"

error 017: undefined symbol "PlayerName2"

error 017: undefined symbol "JailPlayer"

error 017: undefined symbol "PlayerName2"

error 017: undefined symbol "PlayerName2"

error 017: undefined symbol "PlayerName2"

error 017: undefined symbol "PlayerName2"

error 017: undefined symbol "PlayerName2"

Every error line :
Код:
		SavePlayer(i);
Reply
#2

Show us the entire function.
Reply
#3

Код:
public SaveStats()
{
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
		SendClientMessage(i, COLOR_WHITE,"Your stats has autmatically been "COL_BLUE"SAVED");
		SavePlayer(i);
	}
	return 1;
}
forward SavePlayerStats(playerid);
public SavePlayerStats(playerid) {
    if(PlayerInfo[playerid][LoggedIn] == 1) {
        SavePlayer(playerid);
Reply
#4

I'm going to need the all of the functions involving this, including SavePlayer.
Reply
#5

I don't know what you mean,

but the error lines are like this.
line 1212
Код:
UpdateConfig();
line 1660
Код:
SavePlayer(i);
line 1664
Код:
DestroyAllMenus();
line 1674
Код:
SavePlayer(i);
line 1681
Код:
SavePlayer(playerid);
Код:
public OnGameModeExit()
{
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
	    SavePlayer(i);
	}
	KillTimer(PingTimer);
	#if defined USE_MENUS
	DestroyAllMenus();
	#endif
	return 1;
}

public SaveStats()
{
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
		SendClientMessage(i, COLOR_WHITE,"Your stats has autmatically been "COL_BLUE"SAVED");
		SavePlayer(i);
	}
	return 1;
}
forward SavePlayerStats(playerid);
public SavePlayerStats(playerid) {
    if(PlayerInfo[playerid][LoggedIn] == 1) {
        SavePlayer(playerid);
	}
	return 1;
}
Reply
#6

I somewhat believe you just copied some of the functions from some other script, but you forgot to copy all the necessary things.
You are using "SavePlayer(i);" but yet I can't see any SavePlayer(playerid); function..
You used "UpdateConfig();" yet I can't see any public/stock/whatever of UpdateConfig..
And the list goes on and on..

Therefore, these are undefined symbols.
Reply
#7

C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(32) : error 010: invalid function or declaration
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(3 : error 010: invalid function or declaration
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(41) : error 017: undefined symbol "E_CLEO_DATA"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(70) : error 017: undefined symbol "E_CPS_SPAMCOUNT"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(71) : error 017: undefined symbol "E_CPS_TICK"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(90) : error 017: undefined symbol "E_CPS_TICK"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(94) : error 017: undefined symbol "E_CPS_SPAMCOUNT"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(95) : error 017: undefined symbol "E_CPS_SPAMCOUNT"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(101) : error 017: undefined symbol "E_CPS_SPAMCOUNT"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(103) : error 017: undefined symbol "E_CPS_TICK"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(116) : error 025: function heading differs from prototype
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(11 : error 017: undefined symbol "newstate"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(120) : error 017: undefined symbol "playerid"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(122) : error 017: undefined symbol "playerid"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(124) : error 017: undefined symbol "playerid"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(127) : error 017: undefined symbol "playerid"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(12 : error 017: undefined symbol "playerid"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(131) : error 017: undefined symbol "playerid"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(142) : error 025: function heading differs from prototype
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(145) : error 017: undefined symbol "playerid"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(149) : error 017: undefined symbol "playerid"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(150) : error 017: undefined symbol "playerid"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(152) : error 017: undefined symbol "playerid"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(156) : error 017: undefined symbol "playerid"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(15 : error 017: undefined symbol "playerid"
C:\Users\SAMP\Desktop\samp14\pawno\include\fuckCle o.inc(159) : error 017: undefined symbol "playerid"

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


26 Errors.
Reply
#8

Quote:
Originally Posted by Tomer!.$
Посмотреть сообщение
I somewhat believe you just copied some of the functions from some other script, but you forgot to copy all the necessary things.
Exactly.

It's like doing:
pawn Код:
#include < a_samp >

main( )
{
    Function1( );
    Function2( );
    Function3( );
    Function4( );
    Function5( );
    Function6( );
}
If you compile the above, it will find them undefined them symbols because you did not add the function in it.
Reply
#9

It worked before, i never editted them. and when i tried to compile it game me those erorrs

when i compile my backup script, it doesnt show any errors
Reply
#10

Please help us ):
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)