[Pomoc] Kako da resam bug

Započeo Tom Taylor, Avgust 16, 2012, 08:38:47 PRE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Se izvinuvam temata ako ne mi e pravilno otvorena kolku sto razbrav od pravilata za otvorajne tema tolku ke pocituvam 

Kako da sredam bug so pari
буг на серверу када осÑ,авиÑ,е новац у банци новца сÑ,оји у банци али када играч вам даје новац , вие одиÑ,е у плус со новца многу повеќе одколку шÑ,о играчоÑ,  ви дал и Ñ,ако су играчи пуни са новцем!

MOLIM VAS DA MI DADITE NEKOJ SOVET
Poslednja Izmena: Avgust 16, 2012, 10:15:31 PRE PODNE od Tom Taylor
× Ï...Ñ•Ñ, σηÑ" мαη cαη вÑ" â,,"ιкÑ" мÑ" Ñ,нαÑ, ιѕ ............. Gσâˆ,
Tσм Tαуâ,,"σя

САÐ"А ?
× Ï...Ñ•Ñ, σηÑ" мαη cαη вÑ" â,,"ιкÑ" мÑ" Ñ,нαÑ, ιѕ ............. Gσâˆ,
Tσм Tαуâ,,"σя

Ako sam te dobro razumeo kada ostavis novac u banci sve je normalno ali kada ti daje igrac daje ti mnogo vise nego sto on ima i oni se tako pune parama , i samo mi reci preko koje komande /transfer ili /pay ?

/pay DOBRO SI RAZMUEO :D pls pomogni ako treba ke ti platam :S
× Ï...Ñ•Ñ, σηÑ" мαη cαη вÑ" â,,"ιкÑ" мÑ" Ñ,нαÑ, ιѕ ............. Gσâˆ,
Tσм Tαуâ,,"σя


Ete ti dadov vo PM
× Ï...Ñ•Ñ, σηÑ" мαη cαη вÑ" â,,"ιкÑ" мÑ" Ñ,нαÑ, ιѕ ............. Gσâˆ,
Tσм Tαуâ,,"σя

Znam :S ama srpski ne me biva tolku jas razbiram srpski full ali da pisuvam ne a oni neznam kako ne razbirat makedonski :D
Poslednja Izmena: Avgust 16, 2012, 13:49:00 POSLE PODNE od Tom Taylor
× Ï...Ñ•Ñ, σηÑ" мαη cαη вÑ" â,,"ιкÑ" мÑ" Ñ,нαÑ, ιѕ ............. Gσâˆ,
Tσм Tαуâ,,"σя

Неко други ко зна да исправа бугови?
× Ï...Ñ•Ñ, σηÑ" мαη cαη вÑ" â,,"ιкÑ" мÑ" Ñ,нαÑ, ιѕ ............. Gσâˆ,
Tσм Tαуâ,,"σя

Ајде браÑ,че пишеÑ,е ни Ñ,ука вашаÑ,а команда /pay .

eve pay
//-------------------------------[Pay]--------------------------------------------------------------------------
    if(strcmp(cmd, "/pay", true) == 0 || strcmp(cmd, "/plati", true) == 0)
   {
       if(IsPlayerConnected(playerid))
       {
         tmp = strtok(cmdtext, idx);
         if(!strlen(tmp))
         {
            SendClientMessage(playerid, COLOR_WHITE, "{FF8306}KORISTETE:{FFFFFF}/pay [ID/Ime na Igracot] [pari].");
            return 1;
         }
           giveplayerid = ReturnUser(tmp);
         tmp = strtok(cmdtext, idx);
         if(!strlen(tmp))
         {
            SendClientMessage(playerid, COLOR_WHITE, "{FF8306}KORISTETE:{FFFFFF}/pay [ID/Ime na Igracot] [pari].");
            return 1;
         }
         moneys = strval(tmp);
         if(moneys > 1000 && PlayerInfo[playerid][pLevel] < 3)
         {
            SendClientMessage(playerid, COLOR_WHITE, "{FF0000}GRESKA:{FFFFFF}Mora da ste level 3 za da prakjate nad $1000.");
            return 1;
         }
         if(moneys < 1 || moneys > 100000)
         {
             SendClientMessage(playerid, COLOR_WHITE, "{FF0000}GRESKA:{FFFFFF}Nemozete pod $1 ili povekje od $100000.");
             return 1;
         }
         if (IsPlayerConnected(giveplayerid))
         {
             if(giveplayerid != INVALID_PLAYER_ID)
             {
                 if(PlayerInfo[giveplayerid][pLocal] == 106)
               {
                  SendClientMessage(playerid, COLOR_WHITE, "{FF0000}GRESKA:{FFFFFF}Nemozete da ja koristite ovaa komanda tuka.");
                  return 1;
               }
               if (ProxDetectorS(5.0, playerid, giveplayerid))
               {
                   if(giveplayerid == playerid)
                   {
                       SendClientMessage(playerid, COLOR_WHITE, "{FF0000}GRESKA:{FFFFFF}Nemozete da platite samiot na sebe.");
                       return 1;
                   }
                  GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
                  GetPlayerName(playerid, sendername, sizeof(sendername));
                  playermoney = GetPlayerMoney(playerid);
                  if (moneys > 0 && playermoney >= moneys)
                  {
                     GivePlayerCash(playerid, (0 - moneys));
                     GivePlayerCash(giveplayerid, moneys);
                     format(string, sizeof(string), "{37F906}INFO:{FFFFFF}Plativte na %s[ID:%d], $%d.", giveplayer,giveplayerid, moneys);
                     PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
                     SendClientMessage(playerid, WHITE, string);
                     format(string, sizeof(string), "{37F906}INFO:{FFFFFF}Dobivte $%d od %s[ID:%d].", moneys, sendername, playerid);
                     SendClientMessage(giveplayerid, WHITE, string);
                     format(string, sizeof(string), "%s plati $%d na %s.", sendername, moneys, giveplayer);
                     PayLog(string);
                     if(moneys >= 1000000)
                     {
                        ABroadCast(COLOR_YELLOW,string,1);
                     }
                     PlayerPlaySound(giveplayerid, 1052, 0.0, 0.0, 0.0);
                     format(string, sizeof(string), "* %s izvadi pari od novcanikot i dade na %s.", sendername ,giveplayer);
                     ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                     ApplyAnimation(playerid,"DEALER","shop_pay",4.1,0,0,0,0,0);
                  }
                  else
                  {
                     SendClientMessage(playerid, COLOR_WHITE, "{FF0000}GRESKA:{FFFFFF}Nemozete da ja koristite ovaa komanda.");
                  }
               }
               else
               {
                  SendClientMessage(playerid, COLOR_WHITE, "{FF0000}GRESKA:{FFFFFF}Igracot ne e do vas.");
               }
            }//invalid id
         }
         else
         {
            format(string, sizeof(string), "{FF0000}GRESKA:{FFFFFF}Nema takov igrac.", giveplayerid);
            SendClientMessage(playerid, COLOR_WHITE, string);
         }
      }
      return 1;



× Ï...Ñ•Ñ, σηÑ" мαη cαη вÑ" â,,"ιкÑ" мÑ" Ñ,нαÑ, ιѕ ............. Gσâˆ,
Tσм Tαуâ,,"σя