[Pomoc] 4 Erora

Započeo runner
31. Maj 2011.
705
pregleda
6
postova
alee
3
Hustler
31. Maj 2011.
Skripta koju koristim:Balkan UnderGround
Detaljan opis problema:4 Erora
Dio skripte://
Neke slike/video za lakse dobivanje pomoci(neobavezno):
CroBos\Balkan Underground\gamemodes\balkan-underground.pwn(27883) : error 017: undefined symbol "JB_GetPlayerMoney"
CroBos\Balkan Underground\gamemodes\balkan-underground.pwn(27889) : error 017: undefined symbol "JB_GivePlayerMoney"
CroBos\Balkan Underground\gamemodes\balkan-underground.pwn(27891) : error 017: undefined symbol "TxtGov"
CroBos\Balkan Underground\gamemodes\balkan-underground.pwn(27892) : error 017: undefined symbol "Txtgov"
Luis
5
Godfather
31. Maj 2011.
a da se možda postaju redovi od erora ??
alee
3
Hustler
1. Jun 2011.
/*------------------------------------------------------------------------------*/
if(strcmp(cmd, "/oglas", true) == 0 || strcmp(cmd, "/og", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
if(gPlayerLogged == 0)
        {
            SendClientMessage(playerid, LIGHTBLUE, "  Niste prijavljeni (logirani) !");
            return 1;
        }
            if(PlayerInfo < 7)
{
format(string, sizeof(string), "Morate Biti level 1 da bi ste dali !");
SendClientMessage(playerid, LIGHTBLUE, string);
return 1;

}
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext <= ' '))
{
idx++;
}
new offset = idx;
new result;
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext;
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, LIGHTBLUE, "Komanda: /oglas ");
return 1;
}
if ((!adds) && (PlayerInfo < 1))
{
format(string, sizeof(string), "  Molimo pricekajte %d sekunda izmedu oglasa !",  (addtimer/1000));
SendClientMessage(playerid, LIGHTBLUE, string);
return 1;

}
new payout = idx * 25;
if(JB_GetPlayerMoney(playerid) < payout)
        {
            format(string, sizeof(string), "Upotrebili ste %d slova, to kosta $%d, nemate dovoljno.", offset, payout);
            SendClientMessage(playerid, LIGHTBLUE, string);
            return 1;
        }
JB_GivePlayerMoney(playerid, - payout);
format(string, sizeof(string), ": %s \nKontakt: %s \nBroj: %d |",  result, sendername,PlayerInfo);
TextDrawShowForAll(TxtGov);
TextDrawSetString(Txtgov, string);
SetTimer("Hidegov", 30000, 0);
OOCNews(0x0087FFFF,string);

format(string, sizeof(string), "~p~Platili ste $%d~n~~w~Oglas se sastoji od: %d slova", payout, idx);
GameTextForPlayer(playerid, string, 5000, 5);
if (PlayerInfo < 1){SetTimer("AddsOn", addtimer, 0);adds = 0;}
}
return 1;
}


Evo ti cjela komanda
Nxidza
5
Crime Lord
1. Jun 2011.
Obrisi txtgov i ovo iznad toga,(ctrl+g onda linija koja ti pise tamo i izbrisi sve na toj liniji)
Mr.Lowrey
5
Godfather
1. Jun 2011.
(CH)Trex wrote on June 1, 2011, 11:24 am:
/*------------------------------------------------------------------------------*/
if(strcmp(cmd, "/oglas", true) == 0 || strcmp(cmd, "/og", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
if(gPlayerLogged == 0)
        {
            SendClientMessage(playerid, LIGHTBLUE, "   Niste prijavljeni (logirani) !");
            return 1;
        }
            if(PlayerInfo < 7)
{
format(string, sizeof(string), "Morate Biti level 1 da bi ste dali !");
SendClientMessage(playerid, LIGHTBLUE, string);
return 1;

}
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext <= ' '))
{
idx++;
}
new offset = idx;
new result;
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext;
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, LIGHTBLUE, "Komanda: /oglas ");
return 1;
}
if ((!adds) && (PlayerInfo < 1))
{
format(string, sizeof(string), "   Molimo pricekajte %d sekunda izmedu oglasa !",  (addtimer/1000));
SendClientMessage(playerid, LIGHTBLUE, string);
return 1;

}
new payout = idx * 25;
if(JB_GetPlayerMoney(playerid) < payout)
        {
            format(string, sizeof(string), "Upotrebili ste %d slova, to kosta $%d, nemate dovoljno.", offset, payout);
            SendClientMessage(playerid, LIGHTBLUE, string);
            return 1;
        }
JB_GivePlayerMoney(playerid, - payout);
format(string, sizeof(string), ": %s \nKontakt: %s \nBroj: %d |",  result, sendername,PlayerInfo);
TextDrawShowForAll(TxtGov);
TextDrawSetString(Txtgov, string);
SetTimer("Hidegov", 30000, 0);
OOCNews(0x0087FFFF,string);

format(string, sizeof(string), "~p~Platili ste $%d~n~~w~Oglas se sastoji od: %d slova", payout, idx);
GameTextForPlayer(playerid, string, 5000, 5);
if (PlayerInfo < 1){SetTimer("AddsOn", addtimer, 0);adds = 0;}
}
return 1;
}


Evo ti cjela komanda
i sto cu s njom? Odakle ja znam kojo su koji redovi?
b3ntleY
5
Underboss
1. Jun 2011.
To JB_ ti je junkbuster obrisi to JB_

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha