Hi, this part of code is not working for me? Can anyone help me?
I added it under CDPSrvr::OnPVendorOpen
I can still open a shop, but the shop title doesn't appear.
Also the pUser->AddText is not appearing
Code:
#ifdef __ALLOW_VENDING_AREA
switch (CContinent::GetInstance()->GetContinent(pUser))
{
case TOWN_SAINCITY:
case CONT_SAINTMORNING:
break;
default:
pUser->AddText("You must be in Saint City to open a shop!");
return;
break;
}
#endif //__ALLOW_VENDING_AREA
I can still open a shop, but the shop title doesn't appear.
Also the pUser->AddText is not appearing