Error problem
#1

I have these errors in my script.


Код:
(4915) : error 017: undefined symbol "GiftPlayer"
(5017) : error 004: function "ABroadCast" is not implemented
(5310) : error 004: function "SetPlayerToTeamColor" is not implemented
(5575) : error 004: function "SetPlayerWeapons" is not implemented
(5636) : error 004: function "ABroadCast" is not implemented
(5927) : error 017: undefined symbol "SaveBusiness"
(6170) : error 017: undefined symbol "LockCar"
(6174) : error 017: undefined symbol "UnLockCar"
(6259) : error 017: undefined symbol "LockCar"
(6263) : error 017: undefined symbol "UnLockCar"
(6348) : error 017: undefined symbol "LockCar"
(6352) : error 017: undefined symbol "UnLockCar"
(6437) : error 017: undefined symbol "LockCar"
(6441) : error 017: undefined symbol "UnLockCar"
(6526) : error 017: undefined symbol "LockCar"
(6530) : error 017: undefined symbol "UnLockCar"
(8491) : error 004: function "FixHour" is not implemented
(8538) : error 004: function "split" is not implemented
(8840) : error 004: function "split" is not implemented
(9031) : error 004: function "split" is not implemented
(10062) : error 004: function "SetPlayerWeapons" is not implemented
(10925) : error 079: inconsistent return types (array & non-array)
(10935) : error 079: inconsistent return types (array & non-array)
(10937) : error 079: inconsistent return types (array & non-array)
(10969) : error 017: undefined symbol "SaveGarages"
(10970) : error 079: inconsistent return types (array & non-array)

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

show the lines
Reply
#3

(4915) : error 017: undefined symbol "GiftPlayer"

Код:
public Gift(playerid)
{
	GiftPlayer(playerid, 1);
	gifttimer[playerid] = 3600;
	gettinggift[playerid] = 0;
	return 1;
}
(5017) : error 004: function "ABroadCast" is not implemented


Код:
stock DeleteClosestBag(playerid)
{
    for(new i = 0; i < sizeof(MoneyInfo); i++)
  	{
  	    if(IsPlayerInRangeOfPoint(playerid, 4.0, MoneyInfo[i][mbX], MoneyInfo[i][mbY], MoneyInfo[i][mbZ]))
        {
  	        if(MoneyInfo[i][mCreated] == 1)
            {
                new sendername[MAX_PLAYER_NAME];
                new string[128];
                new location[MAX_ZONE_NAME];
                GetPlayerName(playerid, sendername, sizeof(sendername));
				GetPlayer2DZone(playerid, location, MAX_ZONE_NAME);
                format(string, sizeof(string), "Warning: %s (Text is here) %s (%0.2f, %0.2f, %0.2f).", sendername, location, MoneyInfo[i][mbX], MoneyInfo[i][mbY], MoneyInfo[i][mbZ]);
                ABroadCast(RED, string, 1);
                MoneyInfo[i][mCreated]=0;
            	MoneyInfo[i][mbX]=0.0;
            	MoneyInfo[i][mbY]=0.0;
            	MoneyInfo[i][mbZ]=0.0;
            	MoneyInfo[i][mAmount] = 0;
            	MoneyInfo[i][mMoneybag] = 0;
            	DestroyDynamicPickup(MoneyInfo[i][mPickup]);
                return 1;
  	        }
  	    }
  	}
    return 0;
}
(5310) : error 004: function "SetPlayerToTeamColor" is not implemented


Код:
public BackupClear(playerid, calledbytimer)
{
	if(IsPlayerConnected(playerid))
	{
		if(IsACop(playerid))
		{
			if (PlayerInfo[playerid][pRequestingBackup] == 1)
			{
				for(new i; i<MAX_PLAYERS; i++)
				{
					if(IsPlayerConnected(i))
					{
						if(IsACop(i))
						{
							SetPlayerMarkerForPlayer(i, playerid, TCOLOR_WHITE);
							SetPlayerToTeamColor(playerid);
						}
					}
				}
(5575) : error 004: function "SetPlayerWeapons" is not implemented


Код:
public PaintballEnded()
{
	new string[128];
	new name[MAX_PLAYER_NAME];
    ////foreach(Player, i)
    for(new i; i<MAX_PLAYERS; i++)
	{
	    if(IsPlayerConnected(i))
	    {
	        if(PlayerPaintballing[i] != 0)
	        {
	            if(IsPlayerConnected(PaintballWinner))
	            {
	                GetPlayerName(PaintballWinner, name, sizeof(name));
	                format(string,sizeof(string), "** %s (Text here) %d tapmisega **",name,PaintballWinnerKills);
	                SendClientMessage(i, COLOR_WHITE, string);
	            }
	            ResetPlayerAdminWeaponsEx(i);
	            SetPlayerWeapons(i);
	            PlayerPaintballing[i] = 0;
	            SetPlayerPos(i,BizzInfo[0][bEntranceX],BizzInfo[0][bEntranceY],BizzInfo[0][bEntranceZ]);
	            SetPlayerInterior(i, 0);
	            TogglePlayerControllable(i, 1);
	        }
		}
	}
	AnnouncedPaintballRound = 0;
    PaintballRound = 0;
	return 1;
}
(5636) : error 004: function "ABroadCast" is not implemented


Код:
public OnPlayerChangeWeapon(playerid, oldweapon, newweapon)
{
	new string[256];
    if(gPlayerLogged[playerid] && IsPlayerConnected(playerid))
 	{
		if(!IsPlayerNPC(playerid))
		{
		    if(!(PlayerInfo[playerid][pAdmin] >= 3))
		    {
	            new weap=GetPlayerWeapon(playerid);
	            //new ammo=GetPlayerAmmo(playerid);
	            if(weap > 0 && weap != 46)
	            {
	            	if(HaveWeapon(playerid,weap) != weap && HaveAdminWeapon(playerid,weap) != weap)
	             	{
	             	    new WeaponName[65];
	             	    GetWeaponName(weap,WeaponName,64);
	                 	format(string, sizeof(string), "Hack: %s (%d) has a desynced %s",PlayerName(playerid),playerid,WeaponName);
	                  	UpdateWarnings(string);
	                  	format(string, sizeof(string), "Hack: %s (%d) has a desynced %s",PlayerName(playerid),playerid,WeaponName);
	                  	ABroadCast(COLOR_YELLOW,string,1);
	                }
	            }
			}
		}
	}
}
The others i send later. I dont have time right now.
Reply
#4

maybe you missed some }
Reply
#5

Quote:
Originally Posted by HardRock
Посмотреть сообщение
(4915) : error 017: undefined symbol "GiftPlayer"

Код:
public OnPlayerChangeWeapon(playerid, oldweapon, newweapon)
{
	new string[256];
    if(gPlayerLogged[playerid] && IsPlayerConnected(playerid))
 	{
		if(!IsPlayerNPC(playerid))
		{
		    if(!(PlayerInfo[playerid][pAdmin] >= 3))
		    {
	            new weap=GetPlayerWeapon(playerid);
	            //new ammo=GetPlayerAmmo(playerid);
	            if(weap > 0 && weap != 46)
	            {
	            	if(HaveWeapon(playerid,weap) != weap && HaveAdminWeapon(playerid,weap) != weap)
	             	{
	             	    new WeaponName[65];
	             	    GetWeaponName(weap,WeaponName,64);
	                 	format(string, sizeof(string), "Hack: %s (%d) has a desynced %s",PlayerName(playerid),playerid,WeaponName);
	                  	UpdateWarnings(string);
	                  	format(string, sizeof(string), "Hack: %s (%d) has a desynced %s",PlayerName(playerid),playerid,WeaponName);
	                  	ABroadCast(COLOR_YELLOW,string,1);
	                }
	            }
			} //Remove that one.
		}
	}
}
The others i send later. I dont have time right now.
An extra bracket.
Reply
#6

Quote:
Originally Posted by gtakillerIV
Посмотреть сообщение
An extra bracket.
Nah


Do those functions exist in your mode?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)