[Pomoc]/buylevel disable

Započeo xXxPored
11. Jan. 2013. Zaključano
367
pregleda
9
postova
DJeronimo
4
Made Man
11. Jan. 2013.
Skripta koju koristim: Godfather
Detaljan opis problema: Kako da uklonim /buylevel i ono da placam da bude normalno znaci kad skupim toliko respekta da dobijem lvl up!
Dio skripte: dam sta treba
Neke slike/video za lakse dobivanje pomoci(neobavezno): :/
--Lood--
5
Crime Lord
11. Jan. 2013.
Pa brt napravis proveru de mi stock za pd i komandu buylevel pa cu ti u toku dana napravit trenutno sam na tel
Blaeks_Biofor
5
Forum Don
11. Jan. 2013.
obrisi komandu buylevel, i u public za dobivanje plate stavi ovo u public payday
foreach(Player, i)
{
new nxtlevel = PlayerInfo+1;
new expamount = nxtlevel*levelexp;
new infostring;
new total = PlayerInfo;
if(PlayerInfo >= nxtlevel)
{
PlayerInfo++;
if(PlayerInfo > 0)
{
PlayerInfo -= expamount;
if(total > 0)
{
PlayerInfo = total;
}
else
{
PlayerInfo = 0;
}
}
else
{
PlayerInfo = 0;
}
format(infostring, 128, "sad ste level %d", nxtlevel);
SendClientMessage(i, COLOR_WHITE, infostring);
}
}
DJeronimo
4
Made Man
11. Jan. 2013.
public PayDay()
{
new string;
new account,interest;
new rent = 0;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
    if(PlayerInfo > 0)
    {
    if(MoneyMessage==1)
{
    SendClientMessage(i, COLOR_LIGHTRED, "You failed to pay your debt, Jail time.");
    GameTextForPlayer(i, "~r~Busted!", 2000, 1);
    SetPlayerInterior(i, 6);
  SetPlayerPos(i, 264.6288,77.5742,1001.0391);
            PlayerInfo = 1;
            ResetPlayerWeapons(i);
WantedPoints = 0;
PlayerInfo = 240;
format(string, sizeof(string), "You are jailed for %d seconds.  Bail: Unable", PlayerInfo);
SendClientMessage(i, COLOR_LIGHTBLUE, string);
}
new playername2;
GetPlayerName(i, playername2, sizeof(playername2));
account = PlayerInfo;
if(PlayerInfo >= 5)
{
    Tax += TaxValue;//Should work for every player online
    PlayerInfo -= TaxValue;
    if(PlayerInfo > 0)
{
    new bonus = PlayerInfo / 2;
    PlayerInfo += bonus;
}
new checks = PlayerInfo;
    new ebill = (PlayerInfo/10000)*(PlayerInfo);
    ConsumingMoney = 1;
    GivePlayerMoney(i, checks);
    if(PlayerInfo > 0)
    {
    PlayerInfo -= ebill;
    SBizzInfo += ebill;
}
else
{
    ebill = 0;
}
PlayerInfo++;
PlayerPlayMusic(i);
PlayerInfo = account+interest;
SendClientMessage(i, COLOR_WHITE, "|___ BANK STATMENT ___|");
format(string, sizeof(string), "  Paycheck: $%d  Tax Money: -$%d", checks, TaxValue);
SendClientMessage(i, COLOR_GRAD1, string);
format(string, sizeof(string), "  Balance: $%d", account);
SendClientMessage(i, COLOR_GRAD1, string);
format(string, sizeof(string), "  Interest Gained $%d", interest);
SendClientMessage(i, COLOR_GRAD3, string);
SendClientMessage(i, COLOR_GRAD4, "|--------------------------------------|");
format(string, sizeof(string), "  New Balance: $%d", PlayerInfo);
SendClientMessage(i, COLOR_GRAD5, string);
format(string, sizeof(string), "  Rent: -$%d", rent);
SendClientMessage(i, COLOR_GRAD5, string);
format(string, sizeof(string), "~y~PayDay~n~~w~Paycheck");
GameTextForPlayer(i, string, 5000, 1);
rent = 0;
PlayerInfo = 0;
PlayerInfo = 0;
PlayerInfo += 1;
if(PlayerInfo > 0)
{
    PlayerInfo += 1;
    if(PlayerInfo >= 5)
    {
        PlayerInfo++;
        PlayerInfo = 0;
    }
}
}
else
{
    SendClientMessage(i, COLOR_LIGHTRED, "* You haven't played long enough to obtain a PayDay.");
}
}
}
}
return 1;
}


Obrisao BuyLevel a evo ti public za PayDay de Blaeks ubaci 😄 molim te PS Hvala
DJeronimo
4
Made Man
12. Jan. 2013.
Stavi lock mrsko mi moliti...Vidim niko ne zna! Hvala
Blaeks_Biofor
5
Forum Don
12. Jan. 2013.
ne radi dp
dao sam ti kod, na tebi je samo da ga ubacis
DJeronimo
4
Made Man
12. Jan. 2013.
al ne znam ubaciti -.- ne bih nista rekao!
Blaeks_Biofor
5
Forum Don
12. Jan. 2013.
public PayDay()
{
new string;
new account,interest;
new rent = 0;
foreach(Player, i)
{
new nxtlevel = PlayerInfo+1;
new expamount = nxtlevel*levelexp;
new infostring;
new total = PlayerInfo;
if(PlayerInfo >= nxtlevel)
{
PlayerInfo++;
if(PlayerInfo > 0)
{
PlayerInfo -= expamount;
if(total > 0)
{
PlayerInfo = total;
}
else
{
PlayerInfo = 0;
}
}
else
{
PlayerInfo = 0;
}
format(infostring, 128, "sad ste level %d", nxtlevel);
SendClientMessage(i, COLOR_WHITE, infostring);
}
if(IsPlayerConnected(i))
{
    if(PlayerInfo > 0)
    {
    if(MoneyMessage==1)
{
    SendClientMessage(i, COLOR_LIGHTRED, "You failed to pay your debt, Jail time.");
    GameTextForPlayer(i, "~r~Busted!", 2000, 1);
    SetPlayerInterior(i, 6);
  SetPlayerPos(i, 264.6288,77.5742,1001.0391);
            PlayerInfo = 1;
            ResetPlayerWeapons(i);
WantedPoints = 0;
PlayerInfo = 240;
format(string, sizeof(string), "You are jailed for %d seconds.  Bail: Unable", PlayerInfo);
SendClientMessage(i, COLOR_LIGHTBLUE, string);
}
new playername2;
GetPlayerName(i, playername2, sizeof(playername2));
account = PlayerInfo;
if(PlayerInfo >= 5)
{
    Tax += TaxValue;//Should work for every player online
    PlayerInfo -= TaxValue;
    if(PlayerInfo > 0)
{
    new bonus = PlayerInfo / 2;
    PlayerInfo += bonus;
}
new checks = PlayerInfo;
    new ebill = (PlayerInfo/10000)*(PlayerInfo);
    ConsumingMoney = 1;
    GivePlayerMoney(i, checks);
    if(PlayerInfo > 0)
    {
    PlayerInfo -= ebill;
    SBizzInfo += ebill;
}
else
{
    ebill = 0;
}
PlayerInfo++;
PlayerPlayMusic(i);
PlayerInfo = account+interest;
SendClientMessage(i, COLOR_WHITE, "|___ BANK STATMENT ___|");
format(string, sizeof(string), "  Paycheck: $%d  Tax Money: -$%d", checks, TaxValue);
SendClientMessage(i, COLOR_GRAD1, string);
format(string, sizeof(string), "  Balance: $%d", account);
SendClientMessage(i, COLOR_GRAD1, string);
format(string, sizeof(string), "  Interest Gained $%d", interest);
SendClientMessage(i, COLOR_GRAD3, string);
SendClientMessage(i, COLOR_GRAD4, "|--------------------------------------|");
format(string, sizeof(string), "  New Balance: $%d", PlayerInfo);
SendClientMessage(i, COLOR_GRAD5, string);
format(string, sizeof(string), "  Rent: -$%d", rent);
SendClientMessage(i, COLOR_GRAD5, string);
format(string, sizeof(string), "~y~PayDay~n~~w~Paycheck");
GameTextForPlayer(i, string, 5000, 1);
rent = 0;
PlayerInfo = 0;
PlayerInfo = 0;
PlayerInfo += 1;
if(PlayerInfo > 0)
{
    PlayerInfo += 1;
    if(PlayerInfo >= 5)
    {
        PlayerInfo++;
        PlayerInfo = 0;
    }
}
}
else
{
    SendClientMessage(i, COLOR_LIGHTRED, "* You haven't played long enough to obtain a PayDay.");
}
}
}
}
return 1;
}
probaj ovako, ako ti kresha pawno, ili dobijes 26 errora, samo potrazi gde mi fale zagradice
DJeronimo
4
Made Man
12. Jan. 2013.
Nema errora sad moram proveesti malo na SAMPu da vidim radi li :S haha

Hvala ti mogao si danas 😛 da rijesim ovo!

nemoj jos lock please dok vidim radi li u pm :S

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha