- Arat
- if (ch != m_pkPC)
- {
- while (sumiktar < suprice && ch->GetShopOwner()->IsPC() == true)
- {
- //m_pkPC->AutoGiveItem(80007,1);
- m_pkPC->AutoGiveItem(27991,1,0,false);
- sumiktar++;
- }
- }
- if (ch != m_pkPC)
- {
- while (barmiktar < wonprice && ch->GetShopOwner()->IsPC() == true)
- {
- //m_pkPC->AutoGiveItem(50513,1);
- m_pkPC->AutoGiveItem(80007,1,0,false);
- barmiktar++;
- }
- }
- if (ch != m_pkPC)
- {
- while (yesilmiktar < yesilotprices && ch->GetShopOwner()->IsPC() == true)
- {
- //m_pkPC->AutoGiveItem(50513,1);
- m_pkPC->AutoGiveItem(70253,1,0,false);
- yesilmiktar++;
- }
- }
- if (ch != m_pkPC)
- {
- while (kirmizimiktar < kirmiziotprices && ch->GetShopOwner()->IsPC() == true)
- {
- //m_pkPC->AutoGiveItem(50513,1);
- m_pkPC->AutoGiveItem(70251,1,0,false);
- kirmizimiktar++;
- }
- }
- if (ch != m_pkPC)
- {
- while (mavimiktar < maviotprices && ch->GetShopOwner()->IsPC() == true)
- {
- //m_pkPC->AutoGiveItem(50513,1);
- m_pkPC->AutoGiveItem(70252,1,0,false);
- mavimiktar++;
- }
- }
- if (ch != m_pkPC)
- {
- while (mormiktar < morotprices && ch->GetShopOwner()->IsPC() == true)
- {
- //m_pkPC->AutoGiveItem(50513,1);
- m_pkPC->AutoGiveItem(70254,1,0,false);
- mormiktar++;
- }
- }
- if (ch != m_pkPC)
- {
- while (ruhtasmiktar < ruhtasiprices && ch->GetShopOwner()->IsPC() == true)
- {
- //m_pkPC->AutoGiveItem(50513,1);
- m_pkPC->AutoGiveItem(50513,1,0,false);
- ruhtasmiktar++;
- }
- Değiştir
- if (ch != m_pkPC)
- {
- if (sumiktar < suprice && ch->GetShopOwner()->IsPC() == true)
- {
- m_pkPC->AutoGiveItem(27991,suprice);
- sumiktar++;
- }
- }
- if (ch != m_pkPC)
- {
- if (barmiktar < wonprice && ch->GetShopOwner()->IsPC() == true)
- {
- m_pkPC->AutoGiveItem(80007,wonprice);
- barmiktar++;
- }
- }
- if (ch != m_pkPC)
- {
- if (yesilmiktar < yesilotprices && ch->GetShopOwner()->IsPC() == true)
- {
- m_pkPC->AutoGiveItem(70253,yesilotprices);
- yesilmiktar++;
- }
- }
- if (ch != m_pkPC)
- {
- if (kirmizimiktar < kirmiziotprices && ch->GetShopOwner()->IsPC() == true)
- {
- m_pkPC->AutoGiveItem(70251,kirmiziotprices);
- kirmizimiktar++;
- }
- }
- if (ch != m_pkPC)
- {
- if (mavimiktar < maviotprices && ch->GetShopOwner()->IsPC() == true)
- {
- m_pkPC->AutoGiveItem(70252,maviotprices);
- mavimiktar++;
- }
- }
- if (ch != m_pkPC)
- {
- if (mormiktar < morotprices && ch->GetShopOwner()->IsPC() == true)
- {
- m_pkPC->AutoGiveItem(70254,morotprices);
- mormiktar++;
- }
- }
- if (ch != m_pkPC)
- {
- if (ruhtasmiktar < ruhtasiprices && ch->GetShopOwner()->IsPC() == true)
- {
- m_pkPC->AutoGiveItem(50513,ruhtasiprices);
- ruhtasmiktar++;
- }