[Pomoc] greske


Započeo [BE:RP]Dzoni, Jun 09, 2013, 13:24:38 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:BU
Detaljan opis problema: izbacuje mi greske,moze li mi neko pomoc oko njih
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno): /

A:\BUL PRAVI\pawno\include\SpikeStrip.inc(27) : warning 219: local variable "panels" shadows a variable at a preceding level
A:\BUL PRAVI\pawno\include\SpikeStrip.inc(27) : warning 219: local variable "doors" shadows a variable at a preceding level
A:\BUL PRAVI\pawno\include\SpikeStrip.inc(27) : warning 219: local variable "lights" shadows a variable at a preceding level
A:\BUL PRAVI\pawno\include\SpikeStrip.inc(27) : warning 219: local variable "tires" shadows a variable at a preceding level
A:\BUL PRAVI\pawno\include\GetVehicleColor.inc(109) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicle")
A:\BUL PRAVI\pawno\include\GetVehicleColor.inc(112) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicleEx")
A:\BUL PRAVI\pawno\include\GetVehicleColor.inc(115) : warning 201: redefinition of constant/macro (symbol "CreateVehicle")
A:\BUL PRAVI\gamemodes\bulstaro.pwn(6144) : error 017: undefined symbol "hInt"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(6145) : error 017: undefined symbol "hWorld"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(6146) : error 017: undefined symbol "hExitx"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(6149) : error 017: undefined symbol "hInt"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(6550) : error 017: undefined symbol "JB_GivePlayerMoney"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(7470) : error 017: undefined symbol "JB_GivePlayerMoney"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(7686) : error 017: undefined symbol "JB_GivePlayerMoney"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(7830) : error 017: undefined symbol "JB_GivePlayerMoney"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(11998) : error 017: undefined symbol "JB_SetPlayerHealth"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(12010) : error 017: undefined symbol "JB_SetPlayerHealth"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(12022) : error 017: undefined symbol "JB_SetPlayerHealth"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(12033) : error 017: undefined symbol "JB_SetPlayerHealth"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(12043) : error 017: undefined symbol "JB_SetPlayerHealth"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(12053) : error 017: undefined symbol "JB_SetPlayerHealth"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(13039) : error 017: undefined symbol "JB_SetPlayerHealth"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(13040) : error 017: undefined symbol "JB_SetPlayerHealth"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(13417) : error 017: undefined symbol "JB_SetPlayerHealth"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(13423) : error 017: undefined symbol "JB_SetPlayerHealth"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(13429) : error 017: undefined symbol "JB_SetPlayerHealth"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(13998) : error 017: undefined symbol "hEntrancex"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(14543) : error 017: undefined symbol "JB_SetPlayerHealth"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(14548) : error 017: undefined symbol "JB_SetPlayerHealth"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(14553) : error 017: undefined symbol "JB_SetPlayerHealth"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(14558) : error 017: undefined symbol "JB_SetPlayerHealth"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(14621) : error 017: undefined symbol "JB_SetPlayerHealth"
A:\BUL PRAVI\gamemodes\bulstaro.pwn(14626) : error 017: undefined symbol "JB_SetPlayerHealth"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;

if(house !=255)
		{
		    if(SpawnChange[playerid]) //If 1, then you get to your house, else spawn somewhere else
		    {
				SetPlayerToTeamColor(playerid);
				SetPlayerInterior(playerid,HouseInfo[house][hInt]);//6144 linija
				SetPlayerVirtualWorld(playerid,HouseInfo[house][hWorld]);//6145 linija 
				SetPlayerPos(playerid, HouseInfo[house][hExitx], HouseInfo[house][hExity],HouseInfo[house][hExitz]); // Warp the player //6146 linija
				PlayerInfo[playerid][pLocal] = house;
				HouseEntered[playerid] = house;
				PlayerInfo[playerid][pInt] = HouseInfo[house][hInt];//6149 linija
				return 1;
			}
		}

if(PlayerInfo[playerid][pHeadValue] > 0)
	{
	    if(IsPlayerConnected(killerid))
	    {
		    if(gTeam[killerid] == 10 || PlayerInfo[killerid][pLeader] == 8)
		    {
		        if(GoChase[killerid] == playerid)
		        {
					ConsumingMoney[killerid] = 1;
					new killer[MAX_PLAYER_NAME];
					GetPlayerName(killerid, killer, sizeof(killer));
					JB_GivePlayerMoney(killerid, PlayerInfo[playerid][pHeadValue]); //6550
					format(string,128,"|Meta neutralizirana| Hitman %s je izvrsio naruceno ubojstvo na %s i zaradio $%d",killer,name,PlayerInfo[playerid][pHeadValue]);
					SendFamilyMessage(8, COLOR_YELLOW, string);
					format(string,128,"|Meta neutralizirana| Hitman %s je izvrsio naruceno ubojstvo na %s i zaradio $%d",killer,name,PlayerInfo[playerid][pHeadValue]);
					SendAdminMessage(COLOR_TOMATO, string);
					PlayerInfo[playerid][pHeadValue] = 0;
					GotHit[playerid] = 0;
					GetChased[playerid] = 999;
					GoChase[killerid] = 999;
				}
			}
		}
	}
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;

      }
        if(PlayerToPoint(5.0, playerid,2495.9541,-1756.2877,13.4683))
        {
            if(PlayerInfo[playerid][pPosta] == 13)//
            {
                      new vehicleid = GetPlayerVehicleID(playerid);
                      new newcar = GetPlayerVehicleID(playerid);
                      if(IsAPostarvozilo(newcar)) //provjerava dali je igrac u vozilima,ovdje stavite idove auta koje ste namjenili za polaganje
                  {
					   SendClientMessage(playerid,COLOR_YELLOW,"Cestitamo uspjesno ste podijelili postu");
		               DisablePlayerCheckpoint(playerid);
		               CP[playerid] = 0;
                       SendClientMessage(playerid,COLOR_YELLOW,"Zaradili ste: 750$+ Bonusa 150$");
                       SetVehicleToRespawn(vehicleid);
                       JB_GivePlayerMoney(playerid, 900); //7470 linija
                       postarTime[playerid] = 1;
                       SetTimerEx("PostarTimer", 30*60*1000, false, "i", playerid);


                 }
            }
        }
    }

        }
        if(PlayerToPoint(5.0, playerid,2495.2034,-1752.5234,13.4749))
        {
            if(PlayerInfo[playerid][pPosta2] == 13)//
            {
                      new vehicleid = GetPlayerVehicleID(playerid);
                      new newcar = GetPlayerVehicleID(playerid);
                      if(IsAPostarvozilo(newcar)) //provjerava dali je igrac u vozilima,ovdje stavite idove auta koje ste namjenili za polaganje
                  {
					   SendClientMessage(playerid,COLOR_YELLOW,"Cestitamo uspjesno ste podijelili postu");
		               DisablePlayerCheckpoint(playerid);
		               CP[playerid] = 0;
		               SendClientMessage(playerid,COLOR_YELLOW,"Zaradili ste: 650$ + Bonusa 150$");
		               SetVehicleToRespawn(vehicleid);
                       JB_GivePlayerMoney(playerid, 800); //7686 linija
                       postarTime[playerid] = 1;
                       SetTimerEx("PostarTimer", 30*60*1000, false, "i", playerid);

                 }
            }
        }
    }

        if(PlayerToPoint(10.0, playerid,1690.5480,-1953.9507,13.1107))
        {
            if(PlayerInfo[playerid][pVlak] == 9)//
            {
                  new newcar = GetPlayerVehicleID(playerid);
                  if(IsAVozilovoz(newcar))
                  {
                       GetPlayerName(playerid, name, sizeof(name));
		               format(string, sizeof(string), "Sef: %s cestitam zaradili ste 1200 + Bonusa 300$. ", name);
		               SendClientMessage(playerid,COLOR_LIGHTRED, string);
		               DisablePlayerCheckpoint(playerid);
		               CP[playerid] = 0;
		               RemovePlayerFromVehicle(playerid)
                       JB_GivePlayerMoney(playerid, 1500);//7830
                  }
             }
         }
    }
   
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;

public OnPlayerSelectedMenuRow(playerid, row)
{
    new Menu:Current = GetPlayerMenu(playerid);

   	if(Current == burgermenu || Current == chickenmenu || Current == pizzamenu || Current == donutshop)
	{
		TogglePlayerControllable(playerid, 1);
		if (row != 10) // 10 = Leave
		{
			if (GetPlayerMoney(playerid) <= 0)
			{
				GameTextForPlayer(playerid, "~r~Nedovoljno novca", 5000, 1);
				return 1;
			}
			new actstring[128];
			new sendername[64];
			new Float:health;
			new location = PlayerInfo[playerid][pLocal];
			GetPlayerName(playerid, sendername, sizeof(sendername));
			GetPlayerHealth(playerid, health);
			if (row == 7 || row == 8) // Drink
			{
				format(actstring, sizeof(actstring), "* %s pije iz svoje case.", sendername);
				GivePlayerCash(playerid, -1);
				JB_SetPlayerHealth(playerid, health + 10);//11998
				ApplyAnimation(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,0,1);
			}
			else // Meal
			{
				switch (row)
				{
					case 1:
					{
					    if(Current == donutshop) format(actstring, sizeof(actstring), "* %s jede malu krofnu.", sendername);
						else format(actstring, sizeof(actstring), "* %s jede malu krofnu.", sendername);
						GivePlayerCash(playerid, -2);
						JB_SetPlayerHealth(playerid, health + 10);//12010
						BizzInfo[location-99][bTill] += 2;
						ExtortionBiz(location-99, 2);
						BizzInfo[location-99][bProducts]--;
					}
					case 2:
					{
						if (Current == chickenmenu) format(actstring, sizeof(actstring), "* %s jede sendvich.", sendername);
						else if (Current == pizzamenu) format(actstring, sizeof(actstring), "* %s jede malu picu.", sendername);
						else if (Current == donutshop) format(actstring, sizeof(actstring), "* %s jede srednju krofnu.", sendername);
						else format(actstring, sizeof(actstring), "* %s jede cheeseburger.", sendername);
						GivePlayerCash(playerid, -4);
						JB_SetPlayerHealth(playerid, health + 20);//12022
						BizzInfo[location-99][bTill] += 4;
						ExtortionBiz(location-99, 4);
						BizzInfo[location-99][bProducts]--;
					}
					case 3:
					{
						if (Current == pizzamenu) format(actstring, sizeof(actstring), "* %s jede veliku picu.", sendername);
						else if (Current == donutshop) format(actstring, sizeof(actstring), "* %s jede veliku krofnu.", sendername);
						else format(actstring, sizeof(actstring), "* %s jede topli sendvich.", sendername);
						GivePlayerCash(playerid, -5);
						JB_SetPlayerHealth(playerid, health + 30);//12033
						BizzInfo[location-99][bTill] += 5;
						ExtortionBiz(location-99, 5);
						BizzInfo[location-99][bProducts]--;
					}
					case 4:
					{
					    if (Current == donutshop) format(actstring, sizeof(actstring), "* %s jede porciju krofni.", sendername);
					    else format(actstring, sizeof(actstring), "* %s jede salatu.", sendername);
						GivePlayerCash(playerid, -3);
						JB_SetPlayerHealth(playerid, health + 15);//12043
						BizzInfo[location-99][bTill] += 3;
						ExtortionBiz(location-99, 3);
						BizzInfo[location-99][bProducts]--;
					}
				}
				if (Current == burgermenu) ApplyAnimation(playerid,"FOOD","EAT_Burger",4.1,0,1,1,0,1);
				else if (Current == chickenmenu) ApplyAnimation(playerid,"FOOD","EAT_Chicken",4.1,0,1,1,0,1);
				else if (Current == pizzamenu) ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,1,1,0,1);
				else if (Current == donutshop) ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,1,1,0,1);
				if (GetPlayerMoney(playerid) > 100) JB_SetPlayerHealth(playerid, 100);//12053
				OnPropUpdate();
			}
			ProxDetector(30.0, playerid, actstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
		}
	}
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;

}
	if(newstate == PLAYER_STATE_SPAWNED)
	{
		new Float: lwx, Float:lwy, Float:lwz;
		GetPlayerPos(playerid, lwx, lwy, lwz);
		if((lwz > 530.0 && PlayerInfo[playerid][pInt] == 0) || PlayerToPoint(1000.0, playerid, -1041.9,-1868.4,79.1)) //the highest land point in sa = 526.8
		{
			SetPlayerSpawn(playerid);
		}
		if(WantedPoints[playerid] > 0)
		{
		    new dstring[128];
			new wanted = WantedPoints[playerid];
			new diecash = 0;
		    while(WantedPoints[playerid] > 0)
		    {
		        diecash += 500;
		        WantedPoints[playerid] --;
		    }
		    format(dstring, sizeof(dstring), "Izgubili ste $%d zbog umiranja sa %d Wanted Poena/om.", diecash, wanted);
		    SendClientMessage(playerid, COLOR_YELLOW, dstring);
		    GivePlayerCash(playerid, - diecash);
		    PlayerInfo[playerid][pWantedDeaths] += 1;
		}
		if(PlayerOnMission[playerid] > 0)
		{
			GameTextForPlayer(playerid, "~r~Misija je izgubljena", 5000, 3);
			PlayerOnMission[playerid] = 0;
		    PlayerInfo[playerid][pMissionNr] = 0;
		}
		WantedPoints[playerid] = 0;
		WantedLevel[playerid] = 0;
		if(PlayerInfo[playerid][pDonateRank] > 0) { JB_SetPlayerHealth(playerid, 100.0); }//13039
		else { JB_SetPlayerHealth(playerid, 50.0+PlayerInfo[playerid][pSHealth]); }//13040
		MedicBill[playerid] = 1;
		TelePos[playerid][0] = 0.0;
		TelePos[playerid][1] = 0.0;
		gPlayerSpawned[playerid] = 1;
		SafeTime[playerid] = 60;
	}
	return 1;
}
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;

public CarCheck()
{
	new string[256];
	foreach (Player, j)
	{
        /*SetVehicleParamsForPlayer(99, j, 0, 0);
        SetVehicleParamsForPlayer(100, j, 0, 0);
        SetVehicleParamsForPlayer(101, j, 0, 0);
        SetVehicleParamsForPlayer(102, j, 0, 0);
        SetVehicleParamsForPlayer(103, j, 0, 0);
        SetVehicleParamsForPlayer(104, j, 0, 0);
        SetVehicleParamsForPlayer(105, j, 0, 0);
        SetVehicleParamsForPlayer(106, j, 0, 0);
        SetVehicleParamsForPlayer(107, j, 0, 0);
        SetVehicleParamsForPlayer(108, j, 0, 0);
        SetVehicleParamsForPlayer(109, j, 0, 0);*/
	    new Float:health;
	    GetPlayerHealth(j, health);
		if(STDPlayer[j]==1)
		{
		    GetPlayerHealth(j, health);
		    JB_SetPlayerHealth(j, health - 5.0);//13417
		    SendClientMessage(j, COLOR_WHITE, "* Izgubili ste 4 helta zbog STD.");
		}
		else if(STDPlayer[j]==2)
		{
		    GetPlayerHealth(j, health);
		    JB_SetPlayerHealth(j, health - 12.0);//13423
		    SendClientMessage(j, COLOR_WHITE, "* Izgubili ste 8 helta zbog STD.");
		}
		else if(STDPlayer[j]==3)
		{
		    GetPlayerHealth(j, health);
		    JB_SetPlayerHealth(j, health - 20.0);//13429
		    SendClientMessage(j, COLOR_WHITE, "* Izgubili ste 12 helta zbog STD.");
		}
		if(GetPlayerMoney(j) < 0)
		{
		    if(MoneyMessage[j]==0)
		    {
			    format(string, sizeof(string), "U dugovima ste, imate vremena do sledece provjere da skupite: $%d ili idete u zatvor.", GetPlayerMoney(j));
				SendClientMessage(j, COLOR_LIGHTRED, string);
				MoneyMessage[j] = 1;
			}
		}
		else
		{
		    MoneyMessage[j] = 0;
		}
	}
	for(new c = 1; c < 254; c++)
	{
		foreach (Player, i)
		{
			if (PlayerInfo[i][pJob] == 5)
			{
				SetVehicleParamsForPlayer(c, i, 0, 0);
			}
		}
		if (gLastDriver[c] == 330)
		{
//			CarRespawn(c);
		}
		if (gLastDriver[c] >= 329)
		{
			gLastDriver[c]++;
		}
		//foundowner = -1;
	}
	return 1;
}
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;

else if(house < 99 && house != 10000)
					{
						SetPlayerPos(i, HouseInfo[house][hEntrancex], HouseInfo[house][hEntrancey],HouseInfo[house][hEntrancez]); // Warp the player //13998
						PlayerInfo[i][pLocal] = 255;
						SetPlayerInterior(i,0);
						PlayerInfo[i][pInt] = 0;
					}
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;

}//TBoxer
								format(string, sizeof(string), "* Izgubili ste borbu od %s.", winner);
								SendClientMessage(Boxer1, COLOR_WHITE, string);
								GameTextForPlayer(Boxer1, "~r~Izgubili ste", 3500, 1);
								format(string, sizeof(string), "* Pobjedili ste %s.", loser);
								SendClientMessage(Boxer2, COLOR_WHITE, string);
								GameTextForPlayer(Boxer2, "~r~You won", 3500, 1);
								if(GetPlayerHealth(Boxer1, health) < 20)
								{
								    SendClientMessage(Boxer1, COLOR_WHITE, "* Premoreni ste poslije borbe, idite da nesto pojedete.");
								    JB_SetPlayerHealth(Boxer1, 30.0);//14543
								}
								else
								{
								    SendClientMessage(Boxer1, COLOR_WHITE, "* Osjecate se super, cak i poslije borbe.");
								    JB_SetPlayerHealth(Boxer1, 50.0);//14548
								}
								if(GetPlayerHealth(Boxer2, health) < 20)
								{
								    SendClientMessage(Boxer2, COLOR_WHITE, "* Premoreni ste poslije borbe, idite da nesto pojedete.");
							    	JB_SetPlayerHealth(Boxer2, 30.0);//14553
								}
								else
								{
								    SendClientMessage(Boxer2, COLOR_WHITE, "* Osjecate se super, cak i poslije borbe.");
								    JB_SetPlayerHealth(Boxer2, 50.0);//14558
								}
                                GameTextForPlayer(Boxer1, "~g~Match Over", 5000, 1); GameTextForPlayer(Boxer2, "~g~Match Over", 5000, 1);
								if(PlayerInfo[Boxer2][pJob] == 12) { PlayerInfo[Boxer2][pBoxSkill] += 1; }
								PlayerBoxing[Boxer1] = 0;
								PlayerBoxing[Boxer2] = 0;
							}
			            }
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;

}//TBoxer
								format(string, sizeof(string), "* Izgubili ste borbu od %s.", winner);
								SendClientMessage(Boxer2, COLOR_WHITE, string);
								GameTextForPlayer(Boxer2, "~r~Izgubili ste", 3500, 1);
								format(string, sizeof(string), "* Pobjedili ste %s.", loser);
								SendClientMessage(Boxer1, COLOR_WHITE, string);
								GameTextForPlayer(Boxer1, "~g~You won", 3500, 1);
								if(GetPlayerHealth(Boxer1, health) < 20)
								{
								    SendClientMessage(Boxer1, COLOR_WHITE, "* Premoreni ste poslije borbe, idite da nesto pojedete.");
								    JB_SetPlayerHealth(Boxer1, 30.0);//14621
								}
								else
								{
								    SendClientMessage(Boxer1, COLOR_WHITE, "* Osjecate se super, cak i poslije borbe.");
								    JB_SetPlayerHealth(Boxer1, 50.0);//14626
								}
All for one gamemode :
http://forum.sa-mp.com/showthread.php?t=283602

www.Game-State.eu" style="border-style: none;

pax95

Decko jel si ti svestan koliko si postova napisao zaredom i to u kratkom razmaku?
Koliko se secam pre je za tri posta zaredom davan ban ali ti si 9 postova stavio malo citaj sta pise u pravilima i zato ide lock na ovu temu postoji dugme EDIT