Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //char.cpp szukasz:
- if ((GetExchange() || IsOpenSafebox() || IsCubeOpen()))
- {
- pkChrCauser->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("»ó´ëąćŔĚ ´Ů¸Ą °Ĺ·ˇ¸¦ ÇĎ°í ŔÖ´Â ÁßŔÔ´Ď´Ů."));
- return;
- }
- //pod dodajesz (tylko tam sb pozmieniaj na te swoje ShopShowTime :P
- int limit_time = 5;
- int iPulse = thecore_pulse();
- if (iPulse - pkChrCauser->GetShopOpenTime() < PASSES_PER_SEC(limit_time))
- {
- pkChrCauser->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("YOU_CAN_NOT_OPEN_SHOP_YET_WAIT_%d_SECONDS"), limit_time);
- return;
- }
- pkChrCauser->SetShopOpenTime(limit_time);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement