Pretraga

Pritisnite Enter za pretragu ili Escape za zatvaranje

Zaključano

[Pomoc] greske

pre 12 godina
435
pregleda
10
postova
Ova tema je zaključana. Samo moderatori i administratori mogu odgovarati.
NZirojevic
Shot Caller
pre 12 godina
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.
NZirojevic
Shot Caller
pre 12 godina
	if(house !=255)
{
    if(SpawnChange) //If 1, then you get to your house, else spawn somewhere else
    {
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid,HouseInfo);//6144 linija
SetPlayerVirtualWorld(playerid,HouseInfo);//6145 linija
SetPlayerPos(playerid, HouseInfo, HouseInfo,HouseInfo); // Warp the player //6146 linija
PlayerInfo = house;
HouseEntered = house;
PlayerInfo = HouseInfo;//6149 linija
return 1;
}
}

if(PlayerInfo > 0)
{
    if(IsPlayerConnected(killerid))
    {
    if(gTeam == 10 || PlayerInfo == 8)
    {
        if(GoChase == playerid)
        {
ConsumingMoney = 1;
new killer;
GetPlayerName(killerid, killer, sizeof(killer));
JB_GivePlayerMoney(killerid, PlayerInfo); //6550
format(string,128,"|Meta neutralizirana| Hitman %s je izvrsio naruceno ubojstvo na %s i zaradio $%d",killer,name,PlayerInfo);
SendFamilyMessage(8, COLOR_YELLOW, string);
format(string,128,"|Meta neutralizirana| Hitman %s je izvrsio naruceno ubojstvo na %s i zaradio $%d",killer,name,PlayerInfo);
SendAdminMessage(COLOR_TOMATO, string);
PlayerInfo = 0;
GotHit = 0;
GetChased = 999;
GoChase = 999;
}
}
}
}
NZirojevic
Shot Caller
pre 12 godina
      }
        if(PlayerToPoint(5.0, playerid,2495.9541,-1756.2877,13.4683))
        {
            if(PlayerInfo == 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 = 0;
                      SendClientMessage(playerid,COLOR_YELLOW,"Zaradili ste: 750$+ Bonusa 150$");
                      SetVehicleToRespawn(vehicleid);
                      JB_GivePlayerMoney(playerid, 900); //7470 linija
                      postarTime = 1;
                      SetTimerEx("PostarTimer", 30*60*1000, false, "i", playerid);

                }
            }
        }
    }
        }
        if(PlayerToPoint(5.0, playerid,2495.2034,-1752.5234,13.4749))
        {
            if(PlayerInfo == 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 = 0;
              SendClientMessage(playerid,COLOR_YELLOW,"Zaradili ste: 650$ + Bonusa 150$");
              SetVehicleToRespawn(vehicleid);
                      JB_GivePlayerMoney(playerid, 800); //7686 linija
                      postarTime = 1;
                      SetTimerEx("PostarTimer", 30*60*1000, false, "i", playerid);

                }
            }
        }
    }
        if(PlayerToPoint(10.0, playerid,1690.5480,-1953.9507,13.1107))
        {
            if(PlayerInfo == 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 = 0;
              RemovePlayerFromVehicle(playerid)
                      JB_GivePlayerMoney(playerid, 1500);//7830
                  }
            }
        }
    }
   
NZirojevic
Shot Caller
pre 12 godina

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;
new sendername;
new Float:health;
new location = PlayerInfo;
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] += 2;
ExtortionBiz(location-99, 2);
BizzInfo[location-99]--;
}
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] += 4;
ExtortionBiz(location-99, 4);
BizzInfo[location-99]--;
}
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] += 5;
ExtortionBiz(location-99, 5);
BizzInfo[location-99]--;
}
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] += 3;
ExtortionBiz(location-99, 3);
BizzInfo[location-99]--;
}
}
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);
}
}
NZirojevic
Shot Caller
pre 12 godina
	}
if(newstate == PLAYER_STATE_SPAWNED)
{
new Float: lwx, Float:lwy, Float:lwz;
GetPlayerPos(playerid, lwx, lwy, lwz);
if((lwz > 530.0 && PlayerInfo == 0) || PlayerToPoint(1000.0, playerid, -1041.9,-1868.4,79.1)) //the highest land point in sa = 526.8
{
SetPlayerSpawn(playerid);
}
if(WantedPoints > 0)
{
    new dstring;
new wanted = WantedPoints;
new diecash = 0;
    while(WantedPoints > 0)
    {
        diecash += 500;
        WantedPoints --;
    }
    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 += 1;
}
if(PlayerOnMission > 0)
{
GameTextForPlayer(playerid, "~r~Misija je izgubljena", 5000, 3);
PlayerOnMission = 0;
    PlayerInfo = 0;
}
WantedPoints = 0;
WantedLevel = 0;
if(PlayerInfo > 0) { JB_SetPlayerHealth(playerid, 100.0); }//13039
else { JB_SetPlayerHealth(playerid, 50.0+PlayerInfo); }//13040
MedicBill = 1;
TelePos = 0.0;
TelePos = 0.0;
gPlayerSpawned = 1;
SafeTime = 60;
}
return 1;
}
NZirojevic
Shot Caller
pre 12 godina
public CarCheck()
{
new string;
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==1)
{
    GetPlayerHealth(j, health);
    JB_SetPlayerHealth(j, health - 5.0);//13417
    SendClientMessage(j, COLOR_WHITE, "* Izgubili ste 4 helta zbog STD.");
}
else if(STDPlayer==2)
{
    GetPlayerHealth(j, health);
    JB_SetPlayerHealth(j, health - 12.0);//13423
    SendClientMessage(j, COLOR_WHITE, "* Izgubili ste 8 helta zbog STD.");
}
else if(STDPlayer==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==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 = 1;
}
}
else
{
    MoneyMessage = 0;
}
}
for(new c = 1; c < 254; c++)
{
foreach (Player, i)
{
if (PlayerInfo == 5)
{
SetVehicleParamsForPlayer(c, i, 0, 0);
}
}
if (gLastDriver == 330)
{
// CarRespawn(c);
}
if (gLastDriver >= 329)
{
gLastDriver++;
}
//foundowner = -1;
}
return 1;
}
NZirojevic
Shot Caller
pre 12 godina
					else if(house < 99 && house != 10000)
{
SetPlayerPos(i, HouseInfo, HouseInfo,HouseInfo); // Warp the player //13998
PlayerInfo = 255;
SetPlayerInterior(i,0);
PlayerInfo = 0;
}
NZirojevic
Shot Caller
pre 12 godina
	}//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 == 12) { PlayerInfo += 1; }
PlayerBoxing = 0;
PlayerBoxing = 0;
}
            }
NZirojevic
Shot Caller
pre 12 godina
	}//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
}
Obrisan korisnik Obrisan korisnik
pre 12 godina
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

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava