[pomoc] plata

Započeo [PAL]Emir, Septembar 25, 2011, 14:30:34 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koji koristim :FactionGame
Opis problema:kako cu smanjti platu sad aje po 6000$ i nadalje i ima i manje a ja bi stavio da je 600,400 itd

if(PlayerInfo[i][pPayDay] >= 5)
{
    Tax += TaxValue;//Should work for every player online
    PlayerInfo[i][pAccount] -= TaxValue;
new checks = PlayerInfo[i][pPayCheck] / 50;
if(PlayerInfo[i][pDonateRank] > 0)
{
    new bonus = PlayerInfo[i][pPayCheck] / 100;
    checks += bonus;
}
    new ebill = (PlayerInfo[i][pAccount]/100000)*(PlayerInfo[i][pLevel]);
    account += checks;
    if(PlayerInfo[i][pAccount] > 0)
    {
    PlayerInfo[i][pAccount] -= ebill;
    SBizzInfo[4][sbTill] += ebill;
}
else
{
    ebill = 0;
}
interest = (PlayerInfo[i][pAccount]/10000)*(tmpintrate);
PlayerInfo[i][pExp]++;


samo zameni tamo gde se nalazi ovakvo nesto slicno samo stavi ovo i imaces platu oko 500 $ imao sam i ja taj problem pa sam resio ovako.... ;)

â–º USKORO â—,,
•Reg/Log System [100%]•House System [80%]•Bizz System [50%] •Ownership system [90%] •Admin System [90%] •GM System [0%] •Stats System [100%] •Jail System [90%] •Job System [70%] •Event System [40%] •Bank System [60%] •Org/Mafije [35%] •Donator System [10%]
I najveci talenti gube se u neradu, zato nemoj traziti izgovor da ne znas nego naÄ'i resenje!


jeste meni radi dobro
Respect: Gagi, Maki187, Phillips, TerminuS, Neno, Lepotic, [AL] K4[Я]!K3â,,¢, Gotti747

tako je kod mene u gamemodu i plata je oko 500 dolara , u ostalom probaj pa vidi da li je tako ili ne, ne mozes da saznas ako ne probas...  ;)

â–º USKORO â—,,
•Reg/Log System [100%]•House System [80%]•Bizz System [50%] •Ownership system [90%] •Admin System [90%] •GM System [0%] •Stats System [100%] •Jail System [90%] •Job System [70%] •Event System [40%] •Bank System [60%] •Org/Mafije [35%] •Donator System [10%]
I najveci talenti gube se u neradu, zato nemoj traziti izgovor da ne znas nego naÄ'i resenje!


ewo moze meni pomoc oko ovoga isto ewo kod sta bi morao promjeniti da placa bude oko 400-600 dolara

ewo kod:

if(PlayerInfo[i][pPayDay] >= 5)
{
    Tax += TaxValue;
    PlayerInfo[i][pAccount] -= TaxValue;
new checks = PlayerInfo[i][pPayCheck] / 50;
if(PlayerInfo[i][pDonateRank] > 0)
{
    new bonus = PlayerInfo[i][pPayCheck] / 100;
    checks += bonus;
}
new vbill = (PlayerInfo[i][pAccount]/100000)*(PlayerInfo[i][pLevel]);
    account += checks;
    if(PlayerInfo[i][pAccount] > 0)
    {
    PlayerInfo[i][pAccount] -= vbill;
    SBizzInfo[4][sbTill] += vbill;
}
else
{
    vbill = 0;
}
    new ebill = (PlayerInfo[i][pAccount]/10000)*(PlayerInfo[i][pLevel]);
    account += checks;
    if(PlayerInfo[i][pAccount] > 0)
    {
    PlayerInfo[i][pAccount] -= ebill;
    SBizzInfo[4][sbTill] += ebill;
}
else
{
    ebill = 0;
}