Open Shop

07/07/2013 09:17 WooTheFck#1
helo i just want to ask how can i make a private shop only in Flaris, this is the code only in saintmorning.

Code:
#ifdef __NO_BOUTIQUE
  switch( CContinent::GetInstance()->GetContinent( pUser ) )
  {
  [B][COLOR="Lime"] case TOWN_SAINCITY:
   case CONT_SAINTMORNING:[/COLOR][/B]
    break;
   default:
    pUser->AddText("Vous devez être à Saint City pour ouvrir une boutique !");
    return;
    break;
  }
#endif //_NO_BOUTIQUE
07/07/2013 12:31 TrøublêMakêr#2
Change this:

case TOWN_SAINCITY:
case CONT_SAINTMORNING:

to:

case TOWN_FLARINENOSPLE:
case CONT_FLARIS:

and this :

pUser->AddText("Vous devez être à Saint City pour ouvrir une boutique !");

to:
pUser->AddText("Vous devez être à Flaris pour ouvrir une boutique !");